Fork of ICE-6: Rendering Marks and Channels with React & D3
✓ Published0🌍 Public
BBajiSharifPatan@my.unt.edu
Last edited Mar 6, 2022
Created on Mar 6, 2022
This visualization presents a horizontal bar chart of the top 10 most populous countries based on their nuclear energy usage in 1980, sourced from a CSV file. The chart uses D3 scales (scaleBand and scaleLinear) to map country names and usage values to SVG rectangles. React manages the component state and rendering, while D3’s csv function loads and parses the data. The SVG output includes custom grid lines, tick labels, and styled marks.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed