spiffwalker / municipal-map Goto Github PK
View Code? Open in Web Editor NEWA tool for visualizing local elections with more than 2 viable candidates
A tool for visualizing local elections with more than 2 viable candidates
Create a template CSV file that can be populated and will work flawlessly with this app. Place in Root dir.
Allow this to be specified from the command line.
Folium does not natively support generation of a legend with scatter plots.
This leaves the following options:
Switch from using Folium to a different framework or simply Basemap + Matplotlib
Create a new MacroElement class that contains the legend. Following the example of the fullscreen plugin here
Inject the JS/Html manually..
Line 121 in f134c69
Center the map programatically, no hardcoded locations!
The -0/--outfile argument is optional, as intended, but let's do better when it's not present.
current behavior: if -o/--outfile is not passed in, the default file name is out.html
in the executing directory.
Desired behavior: Create an output file in the same directory as the infile, named after the .csv file.
Example:
running
python3 render.py -i ./examples/MPLS\ Mayor.csv
Would have ./examples/MPLS\ Mayor.html
as the outfile.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.