Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a Vertical Bar Chart

Public visualization

Viewing a saved revision (read-only)

ad3690e54e904bdeae5e0f4077aef796

Making a Vertical Bar Chart

0 stars0🌍 Public
DDaniel Prevoznik
Last edited May 5, 2020
Created on May 1, 2020
Forked from Making a Bar Chart

This gallery example shows a vertical bar chart of population data for ten countries, with the bars rendered in steel blue against axes labeled with country names and population counts. The chart is built using D3 v5, employing `scaleBand` for the categorical x-axis, `scaleLinear` for the y-axis, and axis generators `axisBottom`, `axisLeft`, and `axisRight`. Data is loaded from a CSV file and scaled by a factor of 1000 before rendering as SVG rectangles within a 960x500 viewport.

AI-generated description