All examples By author By category About

d3noob

Independent scale multi-line graph

This is a derivative of the Multi-line graph 4 with v4: Toggle as used in the book D3 Tips and Tricks v4. The stock data was sourced from Mike Bostock's small multiples example.

It is a variation on all the graphs in that multi-line series in that the y axis scales to bounds of the graph for each line. This might sound like a waste of time, but it is done with the intention to allow the viewer to more easily percieve common (related) features in the graph independant of scale

You can toggle the lines off and on by clicking on the appropriate legend text.