Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE-6: Rendering Marks and Channels with React & D3

Public visualization

Fork of ICE-6: Rendering Marks and Channels with React & D3

0 stars0🌍 Public
Pprajoth0405
Last edited Mar 6, 2022
Created on Mar 6, 2022

This bar chart displays the top 20 countries by population from a CSV dataset, using horizontal bars to encode population values along a linear scale. The visualization is built with React and D3 v5, where D3’s `scaleBand` and `scaleLinear` handle the axis scales, and React renders the SVG rects, axis ticks, and labels. Data is loaded asynchronously via `d3.csv` from a remote GitHub gist, and the chart includes blue gridlines and text annotations for readability.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed