D3.js Graphs in JavaScript Templates (jsRender/jsViews, jquery tmpl, etc.)
问题 I've been trying to create a page that uses JavaScript Templates which incorporate graphs made using d3.js to display information about each inventory item (in this example, I have an array of JSON blobs containing transistor data.) For example, I need boilerplate "Absolute Max Ratings" table followed by graphs like the impedance curve for a range of Gate Voltages. Here's what I have so far: var partData = [ { name: "IRF10", maxRatings: { vds: 200, vgs: 20, id: 2.1, pd: 36 }, impedanceGraph: