Gist 7ef9c17d99cb5a83e7312992e4ec683d
✓ Published0🌍 Public
Aadiamaan92
Last edited Jan 16, 2022
Created on Jan 16, 2022
This visualization maps the geographic and thematic reach of Narendra Modi’s speeches, sourced from a Kaggle dataset of text speeches starting in 2018. It displays an interactive choropleth of India, with state boundaries drawn using `d3.geoPath` and a `d3.forceSimulation` layout that positions speech-related keywords as nodes. Hovering over a state reveals its name, while colored circles represent speech themes, with sizes scaled to frequency. The code uses D3.js for SVG rendering and transitions, and it loads the dataset from a JSON file, updating the visualization dynamically.
AI-generated description