Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Simple Bar Chart

Public visualization

Viewing a saved revision (read-only)

b70f64f99672492ea091c581205c9581

Fork of Simple Bar Chart

0 stars0🌍 Public
Mm_gilespufahl@coloradocollege.edu
Last edited Dec 12, 2024
Created on Dec 4, 2024
Forked from Simple Bar Chart

This bar chart displays the top 10 most populous countries as of January 1st, 2024. The visualization encodes each country's population with a bar, and a color scale from light blue to dark purple indicates a percentage value, as defined by a sequential color legend. Built using the d3 library, the chart’s color mapping uses `d3.scaleLinear()` with a domain from 0 to 100 and a range of five hex colors. The example is a fork of a simple bar chart, demonstrating how to adapt the visualization to custom datasets.

AI-generated description

A bar chart showing the top 10 most populous countries on Earth as of January 1st 2024.

Challenge

  • Fork this viz and modify it to show your own data