Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Stylized Bar Chart

Public visualization

Stylized Bar Chart

0 stars2🌍 Public
RRajat Dangat
Last edited Mar 26, 2021
Created on Mar 26, 2021

This stylized bar chart ranks ten countries by their 2020 population estimates from the UN Population dataset, with horizontal bars positioned by a d3.scaleBand and sized by a d3.scaleLinear. Each bar includes a native SVG `<title>` tooltip showing the formatted value, and the y-axis lists country names while the x-axis applies a custom tick formatter that converts units from "G" to "B". The visualization is built with React, rendered as SVG, and styled with the Poppins font for a clean, modern look.

AI-generated description

Refactoring the bar chart.

Comments

Sign in to join the discussion.

MIT Licensed