Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a Bar graph

Public visualization

Viewing a saved revision (read-only)

0af324a4b6d9404e82a89dcac22e2bba

Making a Bar graph

0 stars1🌍 Public
PPraneeth Varma
Last edited May 8, 2020
Created on May 8, 2020
Forked from Making a Bar graph

This example visualizes the top ten most populous countries using a bar chart built with SVG circles and D3.js. It displays population data from the UN, with each circle’s position encoding country and population size. The code uses `d3.csv` to load data, `scaleLinear` and `scalePoint` for scales, and `axisLeft` and `axisBottom` for axes. Population values are formatted with `d3.format`, and circle radii are fixed at 15 pixels.

AI-generated description

It is the data of top ten populous countries in the world, according to the report by UN