Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

mapa España

Public visualization

Viewing a saved revision (read-only)

9844697e6d2f42e8ab230e0bf6f5aae5

mapa España

0 stars1🌍 Public
AAleOG
Last edited May 11, 2023
Created on May 9, 2023
Forked from Hello VizHub

This interactive choropleth map of Spain displays the percentage of the population served by health sectors in Aragon for 2022, with colored regions representing value ranges and a legend for interpretation. The visualization uses D3 v5 with topojson to load geographic boundaries, applies a Mercator projection through `d3.geoMercator` and `d3.geoPath`, and renders the map as an SVG. Data is parsed from a CSV file hosted on GitHub, containing population counts per sector, which are converted into percentage values. The map includes animations and dynamic color scaling via `d3.scaleThreshold`, with interactivity for selecting regions.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.