Skip to main content
100%

ICE 7 - Line Chart(Gold Prices)

✓ Published0🌍 Public
NNaveen Kumar
Last edited Mar 30, 2023
Created on Mar 30, 2023
Forked from HTML Starter

This visualization shows the yearly trend in average gold prices from a CSV dataset, with the x-axis mapping year and the y-axis mapping the average closing price in USD. The line chart uses D3 v5’s `scaleLinear`, `scaleTime`, and `axisBottom`/`axisLeft` to build the axes, while a `line` generator with a `curveBasis` path renders the smooth red trend line. The React-served SVG includes axis labels and a title, with data loaded via `csv` from a GitHub Gist.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes