Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a bar chart

Public visualization

Viewing a saved revision (read-only)

5a2c9464caeb4e5285a9f3c3c28f84f2

Making a bar chart

0 stars0🌍 Public
VVyom Raj
Last edited Jul 10, 2019
Created on Jul 10, 2019
Forked from Making a bar chart

This example shows a vertical bar chart of population data for ten countries, using a CSV file as its primary data source. The chart maps each country’s name to a categorical x-axis and its population value to a numeric y-axis, with bar heights encoded to reflect the top-largest populations, led by China and India. Built with D3 v5, the visualization relies on the `select` API to target the SVG element and reads explicit `width` and `height` attributes from the `<svg>` tag to size the canvas. The appearance is defined by an external stylesheet, and the rendering is entirely SVG-based, with no interaction or animation beyond the static bar geometry.

AI-generated description