🌍 Public
Viewing a saved revision (read-only)
6a3e9c81b5d34e63b1db2f57650ea4c6
Making a barchart
This example shows a horizontal bar chart of tCO2 emissions by scope, with axes labeled and styled using CSS. The chart renders as an SVG, loading data from `data.csv` and using D3 v5’s `csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to map values and draw the bars. The React framework is present in the project structure, though the visualization logic is handled imperatively via D3 selections.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.