Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Stylized Bar Chart

Public visualization

Stylized Bar Chart

0 stars0🌍 Public
SSamir Nandardhane
Last edited May 15, 2023
Created on May 7, 2023

A stylized horizontal bar chart displays per-capita liters of pure alcohol consumption by country, with values shown via colored bars and a formatted x-axis. Built with React and D3 v5, it loads CSV data from a GitHub gist, uses d3.scaleBand and d3.scaleLinear for positioning, and renders SVG marks. d3.format abbreviates large numbers.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed