Skip to main content
Public

Share visualization

Loading preview…

Geospatial Visualization to show how different districts in Uganda voted for each Political Party.

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Geospatial Visualization to show how different districts in Uganda voted for each Political Party.

1
JJOSHUA BUSINGE
Last edited Jul 16, 2022
Created on Jul 8, 2022
Forked from HTML Starter

This visualization shows how different districts in Uganda voted for each political party in the 2021 presidential election. Users can select a district and a party from dropdown menus to see the results displayed as colored circles on a geographic map of the country. The visualization renders using SVG and D3 v4, with the `d3.geoPath` and `d3.geoAlbersUsa` projections to draw the district boundaries and position the data points based on latitude and longitude coordinates from a JSON file. Circle size and color encode the number of votes, with a tooltip providing additional details.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed