Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Most Basic Line chart

Public visualization

Most Basic Line chart

0 stars1🌍 Public
Nnicolekevans
Last edited Dec 5, 2022
Created on Dec 5, 2022
Forked from HTML Starter

This example presents a basic line chart displaying a time series from a two-column CSV dataset. A single steelblue line traces the relationship between date and value over time. The chart is built using the D3.js library (v6), which handles CSV loading, date parsing, and the construction of a time-scaled X axis and linear Y axis. The line path is generated via `d3.line()` and rendered as an SVG element within a fixed 500x500 canvas.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed