Skip to main content
100%

simple line chart from dataset

✓ Published0🌍 Public
NNaram22
Last edited Dec 31, 2016
Created on Dec 31, 2016

A simple line chart displays twelve monthly values from a small JSON dataset, with each month labeled on the x-axis and a bold numeric readout for the final data point. The chart uses d3.svg.line to draw the path, while d3.scale.ordinal positions the categorical months and d3.scale.linear maps values to the y-axis. Interactive circles respond to mouseover by turning red, enlarging, adding a dashed vertical guide, and showing the current value as text, with transitions on mouseout restoring the original appearance.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/romsson/'>romsson</a>'s block: <a href='http://bl.ocks.org/romsson/855207ac5fb5c170de59b9c69ea56012'>simple line chart from dataset</a>

forked from <a href='http://bl.ocks.org/anonymous/'>anonymous</a>'s block: <a href='http://bl.ocks.org/anonymous/6b86b7a0c563a9156dbb2025d99bbbce'>simple line chart from dataset</a>

forked from <a href='http://bl.ocks.org/Naram22/'>Naram22</a>'s block: <a href='http://bl.ocks.org/Naram22/e765b3d4c545e0a1f7e18f5455407432'>simple line chart from dataset</a>

forked from <a href='http://bl.ocks.org/Naram22/'>Naram22</a>'s block: <a href='http://bl.ocks.org/Naram22/9ca1614031a9129da73cc86fa018b519'>simple line chart from dataset</a>

forked from <a href='http://bl.ocks.org/Naram22/'>Naram22</a>'s block: <a href='http://bl.ocks.org/Naram22/432d506a9e2bdf66b738921e59af825d'>simple line chart from dataset</a>

forked from <a href='http://bl.ocks.org/Naram22/'>Naram22</a>'s block: <a href='http://bl.ocks.org/Naram22/5d0cdc986228de1ea2c1d85cb6d6d077'>simple line chart from dataset</a>

mit Licensed

Similar vizzes