Skip to main content
100%

Fork of Fork of Line_Chart_ChoclateSales

✓ Published0🌍 Public
RRahulChaitu999
Last edited Jul 3, 2022
Created on Jul 3, 2022

This example visualizes chocolate sales from 2008 to 2021 using a red line chart rendered in SVG. The chart displays years on the x-axis and total sales on the y-axis, with gridlines and axis labels styled via CSS. The visualization is built with React and D3 v5, using `scaleTime`, `scaleLinear`, `line`, `axisBottom`, `axisLeft`, and `csv` to load and process the remote dataset. The SVG dimensions are set in HTML, and margins frame the plotted data.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes