Skip to main content
100%

Making a bar chart

✓ Published0🌍 Public
Rrychenf1
Last edited Nov 15, 2019
Created on Nov 15, 2019
Forked from Making a bar chart

This example demonstrates how to build a horizontal bar chart showing population figures for ten countries, with population values scaled by a factor of one thousand. The visualization uses D3 v5 to load CSV data, create linear and band scales, and render SVG rectangles with axes. Country names appear on the y-axis via `axisLeft`, while population values are displayed on the x-axis using `axisBottom`. The chart is styled with steelblue bars and custom font sizing through external CSS.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes