Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of HTML Starter

Public visualization

Viewing a saved revision (read-only)

feaaf34a1f1743eaa09d29263565a0a9

Fork of HTML Starter

0 stars0🌍 Public
NNita
Last edited Feb 4, 2025
Created on Feb 4, 2025
Forked from HTML Starter

This choropleth map visualizes crime rates across Indian states, encoding rates using a sequential orange-red color scale with hover tooltips showing exact values. It loads India GeoJSON data from GitHub and renders SVG paths via d3.geoPath with a Mercator projection fitted to the viewport. The code applies a d3.scaleSequential color scale over a sample dataset, draws state labels using path.centroid, and binds mouseover events to display tooltips interactively.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.