simple line chart from dataset
✓ Published0🌍 Public
RRastignac
Last edited Nov 17, 2016
Created on Nov 17, 2016
This example displays a simple line chart of seven monthly data points, with categorical labels (A–G) on the x-axis and numeric values on the y-axis. The chart also shows the date of each point below the x-axis and the final value as a large annotation. Built with D3 v3, it uses `d3.scale.ordinal` for the x-axis, `d3.svg.line` for the path, and `d3.time.format` to parse and display dates. The data loads from a local `dataset.json` file and renders as SVG elements.
AI-generated descriptionBuilt 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>
mit Licensed