Skip to main content
100%

Corey's Bar Chart (from Simple Scatter Plot)

✓ Published0🌍 Public
Ccoreyfnolan@gmail.com
Last edited Feb 5, 2024
Created on Feb 2, 2024

This bar chart visualizes the top 10 countries by total population using data from the UN Population Estimates 2024. The chart renders bars with a gray inner rectangle background, using D3's `scaleBand` and `scaleLinear`. The code filters the dataset for countries, sorts it in descending order, and slices the top 10 entries. It employs `axisLeft` and custom `xAxis`/`yAxis` functions, along with `xAxisLabel` and `yAxisLabel` utilities to label the axes.

AI-generated description

A simple scatter plot with D3 showing the Penguins Dataset.

Challenge

  • Fork this viz
  • Modify it to show your data
MIT Licensed

Similar vizzes