Activity 6_Task 1
✓ Published1🌍 Public
This example renders a horizontal bar chart of population estimates for ten countries in the year 2000, with each bar colored light green and labeled with its country name on the y-axis. The chart loads CSV data via d3.csv, uses d3.scaleBand for the categorical y-axis and d3.scaleLinear for the numeric x-axis, and formats tick labels with d3.format to convert values into billions. React components compose SVG elements for the axes and bars, while d3.v5 provides the data loading and scaling utilities.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed