Pseudo Line Chart with D3
This visualization displays the average population growth rate for each continent across five decades, from 1970 to 2010, using a pseudo line chart. Six distinct colored lines represent Asia (yellow), Africa (orange), North America (green), South America (purple), Europe (blue), and Oceania (red). Built with D3 v7, the code uses `scaleLinear` for both axes, `line()` generators to create each path, and `axisLeft` for the y-axis. The chart includes a gray inner rectangle background, axis labels for "Decades" and "Growth Rate(%)", and hardcoded data from the `index.js` file, with each line appended as an SVG path with a stroke width of 2.
AI-generated descriptionLine chart for average population growth rate of each continent. (Asia to yellow, Africa to orange, North America to green, South America to purple, Europe to blue, Oceania to red)