Questions tagged [choropleth]

A choropleth map is a thematic map in which areas are shaded or patterned in proportion to the measurement of the statistical variable being displayed on the map, such as population density or per-capita income.

Filter by
Sorted by
Tagged with
3 votes
1 answer
18 views

Use GeoPandas to force a choropleth to use a legend with a greater range than the data provided in the column

I have a list of cities, and I'm trying to graph individual choropleth maps for each city's census tracts (coloring is based on their density column). However, I'd like the choropleth to color the ...
0 votes
1 answer
51 views

Choropleth of world countries showing microstates

I'm trying to create a choropleth of world countries that also shows microstates - but the issue I have is that they're too small to be seen at the scale. Wikimedia projects sometimes use this ...
  • 103
0 votes
0 answers
33 views

Plotly choroplethmapbox not rendering data / polygon geometries

I have a geoDataFrame with valid geometries and I use __geo_interface__ to create feature collections object which is passed to geojson property. Reference doc: https://plotly.com/python-api-reference/...
  • 365
3 votes
0 answers
158 views

Add overlay to choropleth map in plotly.express?

I recently started playing around with the plotly.express library for making choropleth maps. I've been able to create one just fine using a GeoJSON of a state's census tracts and a Pandas dataframe, ...
1 vote
1 answer
139 views

Map View in R: Labelling Name for Polygon in Map

I have created following choropleth map for cropland. The code I used is:- library(mapview) library(dplyr) library(sf) setwd("C:/Users/lenovo/Desktop/IEM") Province3Miscellaneous<-...
  • 165
1 vote
1 answer
104 views

Choropleth hover functionality is glitching using Leaflet

The basic functionality of my web map is to allow users to switch between choropleth views using a dropdown menu. This basically works, but the issue I'm now having is with the info box that allows a ...
0 votes
1 answer
117 views

Choropleth layer selection does not work in Leaflet

I am designing a simple prototype web mapping application where I want a user to be able to click on a dropdown menu and have the map's choropleth layer, choropleth legend, and hover info box all ...
1 vote
2 answers
955 views

Folium plot GeoJSON polygon with fill color based on custom values

I have polygons with lat/long values associated with identifiers in a GeoDataFrame as shown below. Consider an example with two identifiers A and B, polygon A has three points and B has four points, ...
  • 95
0 votes
0 answers
102 views

Multiple polygons associated with one district in shapefile

I have shapefile district level of India and I wish to plot a choropleth map using Python and GeoPandas. In the shapefile, there are multiple polygons associated with some districts and also just 1 ...
0 votes
2 answers
545 views

Visualizing GeoHashed data as polygons on QGIS

I have a .csv delimited text layer that includes a particular precision 7 geohash along with a certain measured value for the area represented by said geohash. For example: tc0fh3s,-101.0 tc0fxfg,-100....
  • 603
2 votes
2 answers
194 views

Adding scaled location labels in QGIS

I currently am working on creating a choropleth map of population redistribution data, and would like to stack three layers on top of each other. First, a simple basemap-- I chose to use a Cartro ...
2 votes
1 answer
86 views

Making a choropleth map from zonal statistic in GEE

I have counted pixels with NDVI more than 0.2 for each polygon in a shapefile. Now I want to create choropleth map showing counts of pixels in each polygon. I want to how to create choropleth map ...
1 vote
0 answers
119 views

Creating Choropleth Map using points in ArcGIS Pro

As seen in the picture, the purple/yellow points represents yes/no, and the location of the points are based on home locations of the respondents. In ArcGIS Pro I would like to create a choropleth ...
  • 21
2 votes
1 answer
313 views

How can I create a Choropleth by combining a polygon GeoPanda with a point GeoPanda?

I have two GeoPanda dataframes, one with the location of shops with point coordinates in the geometry column, and one with London boroughs with polygons in the geometry column. My usual approach with ...
  • 23
4 votes
1 answer
4k views

Folium draw polygons with distinct colours

I have trouble with my assignment. I have to draw over 100 polygons from the xml file and every of them has to have other color. I don't know how to accomplish it. First I tried to draw polygons in ...
0 votes
1 answer
202 views

How to programmatically create a bivariate choropleth in d3.js?

Question and Situation I'm using d3.js to visualize some data on a map. The user clicks on one checkbox and all path elements get filled according to a color-preset, which all works fine. Now what we ...
  • 101
0 votes
1 answer
1k views

How to identify correct key_on parameter from JSON file for Folium Choropleth

I'm trying to make a Folium Choropleth map. But I'm stuck for long time on completing it. My map shows boundaries correctly, even shows legend correctly but the map is not filled with choropleth ...
3 votes
2 answers
309 views

How to make QGIS Categorical Symbology Classify only the values that are present (i.e. not provide a category for "All other values")?

I am making a choropleth map to show the value, for each polygon, of an ordered categorical variable (a decile, in fact). So, each polygon already has a specific singular value of this variable, ...
2 votes
1 answer
335 views

Remove Existing Choropleth Map Layer, Legend and Info Div Before Adding a New One in leaflet "map.removeLayer()" is not Working

I followed the “Interactive Choropleth Map” tutorial for leaflet, available here(https://leafletjs.com/examples/choropleth/). Then I put all the things in a function, and I am calling that function on ...
1 vote
1 answer
2k views

How to add data slider bar control to Folium maps

I am making a choropleth map in Folium which displays data for certain age brackets. I would like to add a double ended slider letting users select the bottom and top of the age range to view. The ...
  • 123
1 vote
1 answer
5k views

How to change circle opacity in Folium?

I made my first choropleth map using Folium which worked quite well! However I would like to change the opacity of my circles to be a bit more opaque. How does one do this? There does not seem to be ...
  • 123
0 votes
1 answer
114 views

Developing shapefile (SHP) for location from scratch [closed]

I am working on a research problem for a location for which geospatial vector data does not exist. This means I have to create one from scratch so that I can create shapefile data for this location. ...
  • 123
1 vote
1 answer
2k views

How to get a Folium layer to display on top while not stopping lower layers highlight functionality

I'm trying to create a Folium map where the top layer is a boundary plot (fill_opacity: 0) of coarser structure to the Choropleth on the bottom level. I'd like the coarser level with no highlight ...
2 votes
0 answers
258 views

How to overlay and combine a choropleth and a shaded raster in Python?

I want to make a choropleth map of regions but shade it according to local population density. This is not the problem of masking a raster with a shapefile but to overlay two representations of data ...
  • 379
2 votes
0 answers
2k views

Specifying legend location in folium

I have a few choropleth maps in one Leaflet map using folium. However, in my output, my legends all congregate underneath one another and on one side where it blocks the 'control zoom' icon. Is there ...
1 vote
0 answers
66 views

How do I create Map with regions from Scratch

I wish to create choropleth map in R (or any other program). The map I want to use cannot be found, hence I must create one from scratch (will use photo of map from 1800s). This involves 1- ...
  • 111
1 vote
1 answer
298 views

Sources for population density map of Europe

I want to make population density map for EU where I can show populations of people aged about 65yrs, where can I get a EU shapefile and population Excel file? Is there any EU shape file available ...
  • 19
1 vote
0 answers
61 views

Joined attribute not visible in categorized symbology

I am having an issue selecting a joined layer in the 'value' dropdown under graduated symbology to create a choropleth map. I joined originally the data from a csv file, but after I encountered this ...
  • 11
2 votes
1 answer
291 views

Advice on normalizing census data in choropleth maps

I'm trying to figure out the best way to normalize census data in two choropleth maps showing the population of people with hearing loss. Their geometries: The states of the United States. The ...
  • 240
1 vote
0 answers
620 views

Python plotly choropleth does not work with GeoJSONs

I am trying to use plotly choropleth to draw the map, lets say for a random variable of num for each of the feature regions of the map in Italy. However, it does not work. below is the code that I use:...
1 vote
0 answers
448 views

Folium choropleth plots markers [closed]

I have this code to plot a choropleth from a GeoPandas DataFrame. def create_gpd_dataframe(self d = {'Angle of point': yard_list, 'Latitude': yard_lat_list, 'Longitude': yard_lon_list} ...
2 votes
1 answer
817 views

Is it possible to create a dynamic map in QGIS?

My table looks like this: I’ve already done a Choropleth map with the first attribute of my table. I would like to do the same Choropleth map with the rest of my attributes. I can’t replicate it ...
  • 91
1 vote
2 answers
155 views

Apply external choropleths in QGIS 3

I have a large number of cloropeths stored in SLD and QML formats. QGis is unable to apply any of those, there is no option in the GUI for SLD, whereas it fails to apply QML files correctly. Is there ...
1 vote
0 answers
25 views

ArcMap 10.6 Choropleth Banding

We have ArcMap 10.6 at work, and would like create choropleth maps to visualize the the change in profit (%) that adjusting different business variables would have. **Note that the actual change in ...
  • 11
5 votes
1 answer
108 views

How to create a saved, consistently available value/color key when styling a choropleth map in QGIS? [closed]

I've created a simple choropleth map representing birthplace data for the US, by PUMAs, for a particular shapefile (e.g., the layer shapefile_1): I've categorized the value for each of the PUMAs ...
  • 229
1 vote
0 answers
443 views

Mapbox choropleth map without the in-between colors?

I am new to Mapbox and love the simplicity of creating choropleth maps with stops, and while I prefer the way Mapbox colors each polygon relative to where the value falls between stops by blending the ...
  • 83
1 vote
0 answers
1k views

Python - Issue to create choropleth map based on GeoJSON file: AttributeError

I'm trying to build a choropleth map, I cannot figure out why I get this error: AttributeError: 'NoneType' object has no attribute 'get' Here is my code: station_nb is a dataframe with values ...
  • 11
0 votes
2 answers
172 views

How to visualize choropleth with temporal component in browser

I have a vector dataset with monthly water risk data per river basin. The data is available for each month (January - December) and I would like to visualize this in a browser. The geometries are ...
  • 2,995
1 vote
0 answers
58 views

Conditional graduated styling in QGIS [closed]

I want to make a choropleth map from Census data, where my table structure is similar to the below, but I want to create a graduated style for the population based on a particular Country of birth (e....
  • 19
2 votes
1 answer
339 views

Missing values for Choropleth Map in QGIS

I am creating a Poverty Choropleth from a vector file using polygons to represent each county in the United States. I joined the poverty Excel file with a text file to convert the poverty column from ...
0 votes
1 answer
100 views

Choropleth boundary colour change in QGIS?

How do you change the colour of the boundaries between areas on a choropleth map in QGIS 2.18 Mac version?
  • 1
0 votes
0 answers
320 views

Making 3D choropleth map in QGIS 3 with native tools?

This is similar to this question Is it possible to draw a 3D Choropleth Map in ArcGIS?, but I just wanted to know if the same could be done with the new release of QGIS 3 without the use of the ...
  • 2,818
2 votes
1 answer
940 views

Choropleth map from voronoi map from a set of coordinates (d3+leaflet)

I have a csv file with a set of coordinates with the following structure: id,name,latitude,longitude (24 values). Those 24 points represent coordinates in a city. I would like to get a voronoi map ...
3 votes
0 answers
197 views

Making animated choropleth with ArcGIS Pro

I want to make an animation that shows the changes in state shape and state population every ten years. My state data is all in one large feature class. I have a polygon for each state every ten years,...
  • 129
2 votes
0 answers
295 views

Making a choropleth in D3 by intersecting a MultiPolygon and a Point GeoJSON

I am trying to generate a choropleth map showing crimes per neighborhoods: I have a layer showing the neighborhood boundaries of the city of San Francisco, and point data showing incidences of crime ...
2 votes
1 answer
232 views

Table Join only returns first record from CSV table in QGIS 3.0.3

I have a .csv file that contains instances of hospitalization with diagnosis codes and zip codes and I want to join it to the corresponding polygons in the TIGER 2017 zcta510 shapefile. Every time I ...
1 vote
0 answers
595 views

How to fill the color in choropleth map in absolute value?

Problem I am planning to publish an article about 'how many votes are counted in each region' every one hour after the June election in Korea is over at 6 p.m. So at 7 p.m., at 8 p.m., at 9 p.m.,...
4 votes
1 answer
2k views

How to define boundary numbers without decimal points - Geopandas

Problem The numbers in a legend has the decimal points (eg. 0.00-4.80 at the top of the legend box), when I want them to be integers without decimal points. All I care is that the boundary values are ...
3 votes
1 answer
2k views

Creating choropleth map using OpenLayers?

Is there any way to generate a chloropleth map using OpenLayers 3? The map will contain static data that is stocked in a JSON variable. The map will be published like the picture below:
  • 117
0 votes
1 answer
2k views

Field values missing from quantity symbology options in ArcMap?

I am using ArcMap. I joined table data to the latest TIGERLine tract shapefile for my county and exported the data. When I attempt to create a choropleth/thematic map, many of the fields in the ...