Skip to main content
100%

trytry

✓ Published0🌍 Public
Uunolys
Last edited Dec 12, 2021
Created on Dec 12, 2021
Forked from D3 Starter

This example shows an interactive map of New York City boroughs, where each borough’s fill color represents the length of its name. Users can hover over or click individual boroughs to trigger visual feedback. The map is rendered using D3 v3 with `d3.json` to load GeoJSON data, `d3.geo.path` for projecting and drawing the borough outlines, and `d3.scale` for mapping name lengths to colors. The code sets up mouseover, mouseout, and click event handlers for each path.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes