Skip to main content
100%

Hello VizHub

✓ Published2🌍 Public
Vvkanotra
Last edited Aug 6, 2019
Created on Aug 6, 2019
Forked from Hello VizHub

This example displays a horizontal bar chart ranking countries by population, with bars rendered as SVG rectangles and axes labeled using d3.axisBottom and d3.axisLeft. The data is loaded from a CSV file via d3.csv, and populations are formatted with d3.format to convert raw numbers into abbreviated strings like “B” for billions. The chart uses d3.scaleLinear for the x-axis and d3.scaleBand for the y-axis, with margins and tick marks styled via CSS. It demonstrates VizHub’s workflow of combining D3 v5 with ES6 modules.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes