Skip to main content
100%

Line Plot Sample

✓ Published2🌍 Public
BBaraneedharan N M
Last edited Aug 15, 2020
Created on Aug 15, 2020

This line plot visualizes the quadratic relationship between item weight and item rate using 15 data points from a CSV file. The chart uses D3 v5’s `scaleLinear`, `axisLeft`, and `axisBottom` to construct axes with grid lines, while a `line` generator draws the maroon curve and circles mark each data point. The SVG rendering includes styled labels and a title, with margins and tick formatting applied via `format`. Data is loaded asynchronously with `csv` and parsed to numbers before rendering.

AI-generated description
MIT Licensed

Similar vizzes