Skip to main content
100%

Making a barchart

✓ Published1🌍 Public
Bbertieip
Last edited Jun 12, 2020
Created on Jun 12, 2020
Forked from 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 description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes