Fork of complexity thesis
This choropleth map displays digital complexity across European NUTS2 regions, with darker blues indicating higher normalized complexity values and a legend mapping thresholds from 20 to 100. Using D3.js v6 and the Eurostat Map library’s `map()` builder, it applies a sequential color scale with `d3.interpolateYlGnBu` to CSV data from a GitHub gist. The map supports hover tooltips, responsive resizing that adjusts legend placement, and an SVG download feature via XML serialization.
AI-generated descriptionDigital Complexity Map of Europe
This project displays a choropleth map of Digital Complexity across European regions using the Eurostat Map library and D3.js.
Features
- Interactive map showing Digital Complexity across NUTS2 regions in Europe
- Color-coded visualization with a clear legend
- Responsive design that adapts to different screen sizes
- Download functionality to export the map as SVG
Technology Stack
- HTML5 for structure
- CSS3 for styling
- JavaScript for interactivity
- D3.js for data visualization
- Eurostat Map library for European maps
Usage
- Open the HTML file in a web browser
- Interact with the map to view different regions
- Hover over regions to see specific values
- Use the "Download SVG" button to save the map
Data Source
The visualization uses normalized complexity data from: https://gist.githubusercontent.com/stefanachi/aedfef961b5860daa45544a788d2bc27/raw/7258f371a652b32a5c15bd1653a9790a91ed98e3/Complexity.csv
Responsive Design
The map automatically adjusts its layout based on screen size:
- Desktop: Full legend and insets
- Mobile: Compact legend and optimized for smaller screens