Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Make a bar chart

Public visualization

Viewing a saved revision (read-only)

b4a66f367c3e44c2a4ee6ed7e7878aa9

Make a bar chart

0 stars0🌍 Public
PPulkit Rohilla
Last edited Sep 26, 2019
Created on Sep 26, 2019
Forked from Make a bar chart

A horizontal bar chart displays the population of five countries, using steel-blue rectangles to encode values from a CSV file. The visualization uses D3 v5’s `scaleLinear` for the x-axis, `scaleBand` for the categorical y-axis, and `axisLeft` and `axisBottom` to render ticks. Data is loaded via `csv`, with population numbers converted from thousands, and the SVG is appended to a 960x500 viewport.

AI-generated description

An example showing the capabilities of VizHub.