Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a barchart

Public visualization

Making a barchart

0 stars1🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed