Skip to main content
100%

MapmyIndia Map Example

✓ Published0🌍 Public
SSriyaI
Last edited May 6, 2023
Created on May 6, 2023
Forked from React & D3 Starter

This visualization showcases a MapmyIndia map with markers placed at multiple Indian cities, using the MapmyIndia Map SDK v3 to render an interactive vector map. The example demonstrates React and D3 integration within a larger starter template, though the map itself is initialized directly in the HTML with the mappls.Map API, and markers are added programmatically via a loop over hardcoded coordinates. The code also includes a separate D3.js scatterplot of the Iris dataset, illustrating decoupled React–D3 patterns, with axes rendered using d3.axisLeft and d3.axisBottom.

AI-generated description

This viz is a starter that demonstrates patterns used in real world projects in which complexity is anticipated to scale.

  • Decoupled React & D3 integration
  • Opening moves for scalable complexity
  • Industry standard ES modules and JSX
  • Copy-paste into existing projects

Any questions? Ask on Twitter!

Also viewable in:

MIT Licensed

Similar vizzes