Skip to main content
100%

Line graph

✓ Published0🌍 Public
SSheela2930
Last edited Apr 9, 2023
Created on Apr 8, 2023
Forked from ICE-7 Line Chart

This line graph displays the high price of CS Bank stocks over time, using a red-to-green gradient stroke to encode value magnitude. Data is loaded from a GitHub-hosted CSV file. Built with D3 v4, the visualization uses `d3.scaleTime` and `d3.scaleLinear` for axes, and a `d3.line` path for the series. Interactive mouseover events trigger a bisector-based search to reveal the exact price at the cursor, showing a tooltip and a circle marker. The chart includes labeled axes and an overall title, rendered as SVG.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes