Skip to main content
100%

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

✓ Published4🌍 Public
Ssaiteja0725
Last edited Mar 7, 2022
Created on Mar 7, 2022
Forked from HTML Starter

This visualization displays the ten most populous countries, using a horizontal bar chart where bar length encodes the 2019 population figures. The chart loads data from a CSV file hosted on GitHub, parsing the population column numerically. The visualization is built with React and D3 version 5, leveraging `d3.scaleBand` for the categorical y-axis, `d3.scaleLinear` for the quantitative x-axis, and SVG `rect` elements for the bars. Axis ticks are generated and rendered manually, with axis lines and labels positioned using SVG transforms. The chart includes a title, "highest population," and focuses on rendering marks and channels through code.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes