lilianhj / dataviz-interactive Goto Github PK
View Code? Open in Web Editor NEWAn interactive exploration of refugee flow into the United States
Home Page: https://lilianhj.github.io/dataviz-interactive/
An interactive exploration of refugee flow into the United States
Home Page: https://lilianhj.github.io/dataviz-interactive/
Hi Andrew - taking your advice, I decided to adjust my color ramp for the hexmap, and switched to a quantile scheme, which works pretty well when looking at all refugees. But I've also been working on the dropdown for filtering by region, as you suggested, and once you filter by region, there are so many small/zero values that the quantile scheme no longer works (there are multiple different shades mapped to zero). With that in mind, I think I might like to just stick with a continuous color ramp and reduce the number of steps, as you suggested, but I'm not sure how to do that. I'd be grateful for any help!
The commit with this work is here (I define my scale at line 558 in index.js, and you can see the two scales I've been trying out), and you can see a deployment with the continuous color ramp here.
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.