Skip to main content
100%

D3 World Map

✓ Published0🌍 Public
HHaolong Liu
Last edited Dec 14, 2022
Created on Dec 14, 2022

This example displays a U.S. map with state boundaries and labels, alongside a scatterplot of cities plotted by latitude and longitude, using a dark background. It loads geographic data from a JSON file and renders it with the D3 v3 library, using the AlbersUSA projection and `d3.geo.path` for SVG paths. The map also includes city points from a CSV file, and the code demonstrates basic chart setup with D3 selections and event handlers.

AI-generated description
MIT Licensed

Similar vizzes