Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Test Line Chart 2

Public visualization

Test Line Chart 2

0 stars0🌍 Public
EElodie31190
Last edited Dec 2, 2022
Created on Dec 2, 2022
Forked from Test Line Chart

This example visualizes a time series as a line chart, mapping ordered date and value pairs from a comma-separated dataset. The chart displays a single steelblue line with a time-scaled x-axis and a linear y-axis. Built with D3 v5, it uses `d3.csv`, `d3.scaleTime`, `d3.scaleLinear`, `d3.extent`, `d3.axisBottom`, `d3.axisLeft`, and `d3.line`. The SVG is appended dynamically within a `#my_dataviz` div, with margins and dimensions hardcoded in the script.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed