Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart

Public visualization

Bar Chart

0 stars0🌍 Public
Ssalwdata
Last edited Feb 18, 2020
Created on Feb 18, 2020
Forked from Bar Chart

A bar chart displays population values for five countries, with each bar’s height corresponding to its data point. The visualization uses an SVG canvas with axes that include horizontal and vertical gridlines. The code employs D3 v5’s `scaleBand` for the x-axis, `scaleLinear` for the y-axis, and `d3.axisBottom`/`d3.axisLeft` to render ticks. Data is loaded from a CSV file, formatted with thousands separators, and drawn as steelblue rectangles.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed