Another fun #dataviz project
Did you know more Americans move to Mexico every decade than the other way around? UN data says so.
Colors for intensity of immigration, arcs with flying circles show density, searchable dropdown helps you explore the map.
How to lie with data in a nutshell. Compare these graphs on @Strava comparing your runs
1: OMG so slow 😱
2: oh wait you’re only 3s/km slower … 30seconds over the whole run who cares 😇
made a little example today for a student – drawing a map of Bosnia with 3 cities highlighted
Maybe should be a new chapter 🤔
codesandbox.io/s/vibrant-poi…
Readers often ask about the best way to handle mouse events. Use #react or #d3? Does React even work right with SVG? How many events is too many events?
So I built this free-hand drawing app and it's smooth as silk 😍
Full writeup below 👇
reactfordataviz.com/articles…
The key is that each line is thousands of points, 1 per mouse event, but we draw them with a single <path> element.
D3 handles coordinates and the mousemove event. React does mouseDown and mouseUp
Do you know what JavaScripts most popular dataviz library is?
👉 #D3js
D3 is amazing.
D3 can do stuff like below 👇
If you saw an interactive data visualization, chances are it was built with D3.
Check out more d3js awesomeness reactfordataviz.com/articles…
@Swizec Enjoying the first couple chapters of @reactfordataviz! Here's my first ever D3 chart where I actually understand what is going on thanks to your course. Stoked to learn more! 🦜
github.com/alexUXUI/D3-React…
Another fun #dataviz project
Did you know more Americans move to Mexico every decade than the other way around? UN data says so.
Colors for intensity of immigration, arcs with flying circles show density, searchable dropdown helps you explore the map.
Really cool #dataviz by @JanWillemTulp simulating how fast COVID19 is spreading in each country.
Making data come alive and give value to the consumer.
🎉NEW — side project🎉 A simulation to get an intuitive sense of how fast #COVID19 is spreading in each country, see it, and hear it! You can customize the view too! Always loads the latest data from @OurWorldInDatacovidspreadingrates.org/#dataviz
Candy is delicious! But when do people buy the most of it?
Did you know Americans buy $800mm worth of candy on Easter? 🍭
What better way to visualize it than candy falling from the sky into the shape of a bar chart?
👉(incl code) reactfordataviz.com/articles…#reactjs#d3js
Collision detection is one of those problems that's easy in theory but hard in practice. Even between ideal circles.
But it's really fun to build!
The end result is a decent-looking simulation of billiards.
All of it done with #reactjs, #d3js & MobX
👉 reactfordataviz.com/articles…
How can you create #dataviz that works well in progressive web apps?
Check out this Learn with Jason episode @Swizec did with @jlengstorf. Where in just an hour, they built an animated scatterplot from scratch with Gatsby!
youtube.com/watch?v=Bdeu-BFi…