Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Static LineChart

Public visualization

Static LineChart

0 stars1🌍 Public
Ttenghaoman
Last edited Aug 10, 2020
Created on Aug 10, 2020

A static line chart visualizes temporal stock price data from a CSV file, plotting the `close` values as a black line against a time-based x-axis and linear y-axis. The chart uses D3 v5 to parse dates and numbers, construct scales via `d3.scaleUtc` and `d3.scaleLinear`, and render axes with `d3.axisBottom` and `d3.axisLeft`. The line is drawn using the `d3.line` path generator, with the SVG output styled to remove fill and apply a thin black stroke.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed