Fork of Easiest way of making a 'Map of India', data from Kaggle-2
✓ Published1🌍 Public
NNita
Last edited Jun 6, 2024
Created on Jun 6, 2024
This example renders a choropleth-style map of India, displaying state boundaries and state names on a blank SVG canvas. It uses D3.js to fetch a GeoJSON file of India’s states and a CSV of election data, though the CSV is only logged to the console. The map is drawn with `d3.geoMercator()` projection and `d3.geoPath`, with each state filled in teal and labeled via the path’s centroid. The code relies on d3.csv and d3.json for asynchronous data loading.
AI-generated descriptionMIT Licensed