Skip to main content
100%

line chart time data

✓ Published2🌍 Public
VVvgupta
Last edited Mar 12, 2020
Created on Mar 12, 2020
Forked from saloni

This line chart visualizes daily values over a two-week period, with a red path connecting data points plotted by date and value. The y-axis starts at 8000 to emphasize variation, while each data point is marked with a circle. Using D3 v5, the code loads a CSV file, parses dates with `new Date()`, and applies `scaleTime` and `scaleLinear` for axes. The `line` generator with `curveBasis` creates the smoothed path, and SVG circles are appended for points, with axes rendered via `axisLeft` and `axisBottom`.

AI-generated description
MIT Licensed

Similar vizzes