🌍 Public
Viewing a saved revision (read-only)
965b007781724a5a929b8a7aa2a064bc
State Ratings Map
This map of the United States uses circles to represent shopping data by state. The area of each circle scales with the number of purchases, while the blue color intensity reflects the average customer rating, creating a visual comparison of consumer behavior. Built with d3.geoPath and d3.geoAlbersUsaTerritories, it projects state boundaries and overlays circles using d3.scaleSqrt for sizing and d3.scaleSequential with interpolateBlues for coloring. The data comes from the Shopping Habits Dataset, with the map rendered using the topojson-client library to convert GeoJSON features.
AI-generated descriptionA basic world map.
See also:
MIT Licensed