Skip to main content
100%

ICE7_Linechart

✓ Published0🌍 Public
SSai Bhavana Akkineni
Last edited Jul 3, 2022
Created on Jul 1, 2022

This example visualizes Amazon’s stock price history from 2009 to 2022 using a line chart. The SVG chart plots yearly prices on a time-based x-axis and a linear y-axis, with gridlines and labeled axes. The code uses D3 v5 modules including `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line`, loading CSV data via `d3.csv` and parsing dates with `d3.timeParse`. The line path is styled with a dark green stroke, and the axes use custom tick formatting and colors.

AI-generated description
MIT Licensed

Similar vizzes