🌍 Public
Viewing a saved revision (read-only)
5297a0b4ac134163b8238e7736d2f68a
Fork of Fork of Fork of Fork of Css Named Colors/ Loading and parsing csv data
Aalokagase
Last edited Oct 26, 2021
Created on Oct 25, 2021
This example displays a horizontal bar chart of the top 10 countries by population in 2020, with country names on the y-axis and population values on the x-axis. The visualization uses React to render SVG elements, with scales and axes built using d3-scale and d3-array. Data is loaded and parsed asynchronously from a CSV file via d3.csv, and the chart’s bars are drawn as SVG rectangles using the Marks component.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.