Skip to main content
100%

Create a Map with D3

✓ Published0🌍 Public
CChristine
Last edited Mar 24, 2020
Created on Mar 23, 2020
Forked from Untitled

This example shows a map of Boston neighborhoods rendered as gray SVG paths on a 700 by 580 canvas. It uses D3 v4’s `d3.geoAlbers` projection and `d3.geoPath` to convert GeoJSON features from an embedded `mapdata.js` file into visible shapes. The code binds the neighborhood polygons to `path` elements and applies a uniform fill color, demonstrating a basic choropleth-style layout without additional styling or interactivity.

AI-generated description

Making a Scatter Plot

MIT Licensed

Similar vizzes