Task_8_Q4
✓ Published0🌍 Public
This bubble chart displays the population of the first ten countries from a CSV dataset, with each circle’s position on the x-axis representing the country and the y-axis showing population value, while the radius and color encode the same population figure and the country’s numeric code, respectively. A categorical color legend maps country codes to distinct hues. Built with D3 v7, the visualization uses `d3.csv` for loading data, `scaleBand` and `scaleLinear` for axes, `scaleSqrt` for circle size, and `scaleOrdinal` with `d3.schemeCategory10` for coloring. SVG rendering includes rotated country labels on the bottom axis, a left population axis, chart titles, and a custom legend.
AI-generated descriptionMIT Licensed