simple line chart from dataset
✓ Published0🌍 Public
SSamyMe
Last edited Nov 17, 2016
Created on Nov 17, 2016
This example shows a simple line chart of monthly values from a small JSON dataset, with circles at each data point. Hovering a circle reveals its numeric value and draws a dashed vertical guide line. The chart uses D3 v3 with an ordinal scale for the x-axis, a linear scale for the y-axis, `d3.svg.line` for the path, and `d3.time.format` to parse and format dates. The data is loaded via `d3.json`, and the SVG is appended directly to the body with hardcoded width and height.
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