Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment

Public visualization

Assignment

0 stars0🌍 Public
Ssairathan.p045@gmail.com
Last edited Apr 13, 2026
Created on Apr 13, 2026
Forked from Assignment 8 Maps

This choropleth map visualizes a custom Global Renewable Energy Adoption Index, coloring countries by their score on a green sequential scale while leaving countries without data in gray. The visualization uses D3.js (v7) with a Natural Earth projection via `d3.geoNaturalEarth1` and `d3.geoPath`, rendering geographic paths from a TopoJSON file loaded through `d3.json` and processed with TopoJSON. Country polygons are filled based on score thresholds, and hover interactions reveal tooltips with country names and scores. A legend on the left explains the color thresholds and the "No Data" gray.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed