Skip to main content
100%

Twitter - Line Chart ICE-7

✓ Published0🌍 Public
Mmanojgne
Last edited Jul 2, 2022
Created on Jul 2, 2022
Forked from HTML Starter

This line chart displays Twitter stock prices over the last week, plotting timestamps on the x-axis and share values on the y-axis. The visualization uses D3 v5 with React, rendering to an SVG via the `line` generator with `curveBasis` smoothing. Axes are constructed using `scaleTime`, `scaleLinear`, `axisBottom`, and `axisLeft`, with grid lines and labels styled via CSS. Data is loaded from a CSV file hosted on GitHub, parsed with `csv`, and converted to numeric and date formats before rendering.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes