Skip to main content
100%

Fork of Fork of Easiest way of making a 'Map of India', data from Kaggle-2

✓ Published2🌍 Public
NNita
Last edited Jun 6, 2024
Created on Jun 6, 2024

This interactive map of India displays the leading political party in each state, colored according to a predefined palette. It uses D3.js (v7.9.0) with the `d3.geoMercator` projection and `d3.geoPath` to render the geographic boundaries. State-level election results from a CSV file are joined with a GeoJSON map, and each state is labeled with its name and leading party. A rotated legend lists all party colors. The SVG output is generated using `d3.json` and `d3.csv` data loading, with tooltips provided by SVG `title` elements.

AI-generated description
MIT Licensed

Similar vizzes