Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Circles on a Map of Slovakia

Public visualization

Viewing a saved revision (read-only)

c8b74ec26623409798366c203978d24b

Circles on a Map of Slovakia

1 star1🌍 Public
AAnnisa Farida
Last edited Sep 17, 2019
Created on Sep 17, 2019

This example displays a map of Slovakia with circles positioned at the centroids of each district, sized according to the number of apartments in multi-story residential buildings. The map uses a Mercator projection via `d3.geoMercator` and `d3.geoPath`, with topojson data loaded asynchronously. Circle sizes are scaled using `d3.scaleLinear`, and a legend is generated with a custom `sizeLegend` function. The visualization is rendered as SVG in a React app and supports zooming through D3’s zoom behavior.

AI-generated description

An example showing the capabilities of VizHub.