Reusable Chart Example
This example demonstrates a reusable line chart built with D3 v4, plotting violent crime rates per 100,000 residents across multiple U.S. cities from 1975 to 2015. The SVG visualization uses the CrimesTransformed.csv dataset, encoding years on the x-axis and violent crime rates on the y-axis, with each city represented as a distinct colored line. The chart is designed as a reusable component, allowing the same visualization logic to be applied to different datasets or configurations.
AI-generated descriptionforked from <a href='http://bl.ocks.org/curran/'>curran</a>'s block: <a href='http://bl.ocks.org/curran/66d926fe73211fd650ec'>Towards Reusable Charts Example</a>
<!-- Start of SimpleHitCounter Code --> <div align="center"><img src="http://simplehitcounter.com/hit.php?uid=2227680&f=16777215&b=0" border="0" height="18" width="83"></div> <!-- End of SimpleHitCounter Code -->forked from <a href='http://bl.ocks.org/curran/'>curran</a>'s block: <a href='http://bl.ocks.org/curran/02163a13a40112e0ab6f14bbacc986f8'>Small Multiples with Reusable Charts</a>