Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

line chart time data

Public visualization

line chart time data

0 stars2🌍 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

Comments

Sign in to join the discussion.

MIT Licensed