Home / Companies / Preset / Blog / Post Details
Content Deep Dive

Better Understand Your Geospatial Data - PostGIS GeoJSON

Blog post from Preset

Post Details
Company
Date Published
Author
Daniel Wegmann
Word Count
1,379
Company Posts That Month
4
Language
English
Hacker News Points
-
Post removed?
No
Summary

The article explores how Superset's geospatial data visualization capabilities can enhance understanding of the 2020 Presidential election results by analyzing popular vote distribution at the county level for Democrats and Republicans. Using publicly available data, the process involves importing election data into a Postgres database, enriching it with GeoJSON data corresponding to county FIPS codes, and visualizing it in Superset with deck.gl. The visualization highlights trends and patterns, showing that while a majority of the land appears red, blue areas represent more densely populated regions, offering an edge to the Democratic party. The methodology includes creating a lookup table for county FIPS and GeoJSON data and customizing visualization features to convey meaningful insights, such as displaying the number of votes as polygon height and color-coding to indicate winning parties. The article concludes by demonstrating the map's ability to provide a more nuanced view of election results, emphasizing the importance of population density in understanding electoral outcomes.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.