https://github.com/antodata/marriageequalityworldwide
Project where we provide inside folder API two interesting modules: DonutChartGenerator whose function graph_generator allows you to generate simple or double donut charts very easily and very customized and module MapGenerator whose function build_map allows you to build a map coloring regions according to certain values defined by yourself and including a legend and putGenericMarkers that allows you to set markers in the map and the HTML code you want to be displayed when we open a marker. In this case, we used these functions to create two different maps, in module MarriageEquailtyApprovalRate we generated a world map where the different countries have a different color depending on their approval rate for marriage equality in the second module MarriageEqualityLegalized we generate a map where the countries where marriage equality is legal are colored in green and they display a marker that when opened displays a donut chart with information about the voting for marriage equaility
https://github.com/antodata/marriageequalityworldwide
choropleth choropleth-maps data-science donut-chart folium gay gay-pride legends lesbian lgtb lgtbiq markers marriage-equality matplotlib pandas political-science politics python python3 same-sex-marriage
Last synced: 3 months ago
JSON representation
Project where we provide inside folder API two interesting modules: DonutChartGenerator whose function graph_generator allows you to generate simple or double donut charts very easily and very customized and module MapGenerator whose function build_map allows you to build a map coloring regions according to certain values defined by yourself and including a legend and putGenericMarkers that allows you to set markers in the map and the HTML code you want to be displayed when we open a marker. In this case, we used these functions to create two different maps, in module MarriageEquailtyApprovalRate we generated a world map where the different countries have a different color depending on their approval rate for marriage equality in the second module MarriageEqualityLegalized we generate a map where the countries where marriage equality is legal are colored in green and they display a marker that when opened displays a donut chart with information about the voting for marriage equaility
- Host: GitHub
- URL: https://github.com/antodata/marriageequalityworldwide
- Owner: AntoData
- Created: 2019-08-11T12:20:45.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-12T22:13:58.000Z (about 6 years ago)
- Last Synced: 2025-02-02T22:07:46.565Z (9 months ago)
- Topics: choropleth, choropleth-maps, data-science, donut-chart, folium, gay, gay-pride, legends, lesbian, lgtb, lgtbiq, markers, marriage-equality, matplotlib, pandas, political-science, politics, python, python3, same-sex-marriage
- Language: Python
- Size: 1.34 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0