Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Gustoća stanovništva Republike Hrvatske

Public visualization

Viewing a saved revision (read-only)

145a6c56450e49b58604bc6c445d1ab5

Fork of Gustoća stanovništva Republike Hrvatske

0 stars0🌍 Public
Nnsatyaprakash22
Last edited Mar 27, 2023
Created on Mar 27, 2023

A choropleth map of Croatian counties displays population density using a red sequential color scale, with a legend categorizing density ranges and hover tooltips showing county name, population, and density. The visualization loads TopoJSON data from `Croatia.json` and renders it as SVG paths using `d3.geoPath` with a `geoMercator` projection. The code styles each county by its density class via `d3.scaleLinear` and `schemeReds[9]`, while `d3.scaleOrdinal` powers the legend; the map lacks zoom interactivity despite commented-out `d3.zoom` code.

AI-generated description

Projekt iz kolegija: "Kartografija i nove tehnologije."