Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE 6

Public visualization

Viewing a saved revision (read-only)

6266974714b949ec913fef13266562b1

ICE 6

0 stars1🌍 Public
AAmar09nath
Last edited Mar 7, 2022
Created on Mar 6, 2022

This visualization displays income levels for the top 20 countries using a horizontal bar chart rendered as SVG. The chart maps each country’s income to bar width via a d3.scaleLinear x-axis, while a d3.scaleBand y-axis positions the bars by country name. React’s useState and useEffect hooks load and parse the CSV data, and d3.csv fetches the dataset, which is then sliced to the first 20 rows. The visualization demonstrates a clean, static comparison of income values with labeled axes and blue gridlines.

AI-generated description

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

See also React Starter.