Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a Bar Chart

Public visualization

Viewing a saved revision (read-only)

51f527f0b87b4ec5939a717585589093

Making a Bar Chart

0 stars0🌍 Public
SSean Moore
Last edited Nov 4, 2019
Created on Nov 4, 2019
Forked from Making a Bar Chart

This bar chart shows population estimates for ten countries, ordered from most to least populous, with China leading and Mexico in tenth place. The visualization uses D3 v5 to encode the data from a CSV file into SVG rectangles on a 960-by-500 canvas. The `d3.csv` parsing is combined with `d3.scale` and `d3.axis` functions to map population values to bar heights and render the chart.

AI-generated description