6-scatterplot
✓ Published0🌍 Public
This scatterplot visualizes the relationship between population and average temperature for U.S. cities, with each point labeled by city name. The chart uses d3.csv to load demographic data from a GitHub Gist and d3.scaleLinear to map population (x-axis) and temperature (y-axis) to SVG coordinates. d3.axisBottom and d3.axisLeft render the labeled axes, while circles with d3.selectAll are colored teal and annotated with text elements. The plot combines axis and point rendering to compare city-level climate patterns against population size.
AI-generated descriptionMIT Licensed