Creating GeoJSON map with D3

I’ve been trying to create a map with GeoJSON and have been running into some troubles… I am able to create a leaflet map automatically, but when I try to recreate it in d3 I get a weird half cut off pie. Would anyone be able to help?

Link to notebook:

Hi William! Add a cell with:
import {rewind} from "@fil/rewind"

then change this cell:
losAngelesGeo = rewind(geo.filter(CAGeo, (d) => d.county == "Los Angeles"))

See Geo: Rewind / Fil | Observable for details.

1 Like

Awesome! Thank you!