Burgernomics and an excuse to play with d3 images?...
Real talk though, Whataburger > everything else.
🍔 🍔 🍔
Data:
Burgernomics and an excuse to play with d3 images?...
Real talk though, Whataburger > everything else.
🍔 🍔 🍔
Data:
country | continent | gdp | |
---|---|---|---|
Egypt | Africa | 330765 | |
South Africa | Africa | 312957 | |
Malaysia | Asia | 296219 | |
Israel | Asia | 296073 | |
Denmark | Europe | 294951 | |
Colombia | South America | 293243 | |
Singapore | Asia | 292734 | |
Philippines | Asia | 291965 | |
Pakistan | Asia | 269971 |
Egypt | Africa | 330765 | |
---|---|---|---|
South Africa | Africa | 312957 | |
Malaysia | Asia | 296219 | |
Israel | Asia | 296073 | |
Denmark | Europe | 294951 | |
Colombia | South America | 293243 | |
Singapore | Asia | 292734 | |
Philippines | Asia | 291965 | |
Pakistan | Asia | 269971 |
Egypt | Africa | 330765 | |
---|---|---|---|
South Africa | Africa | 312957 | |
Malaysia | Asia | 296219 | |
Israel | Asia | 296073 | |
Denmark | Europe | 294951 | |
Colombia | South America | 293243 | |
Singapore | Asia | 292734 | |
Philippines | Asia | 291965 | |
Pakistan | Asia | 269971 |
name | age | children | marital-status | country | gender | industry | source | net-worth | |
---|---|---|---|---|---|---|---|---|---|
charlene-de-carvalho-heineken | 60 | 5 | Married | Netherlands | Female | Food & Beverage | Inherited | 9.8 | |
beny-steinmetz | 58 | 4 | Married | Israel | Male | Metals & Mining | Self-made | 2.7 | |
lee-shau-kee | 86 | 5 | Divorced | Hong Kong | Male | Real Estate | Self-made | 22.1 | |
david-thomson | 57 | 4 | Divorced | Canada | Male | Media | Inherited | 24.3 | |
bidzina-ivanishvili | 58 | 4 | Married | Georgia | Male | Diversified | Self-made | 5.2 | |
budi-hartono | 3 | Married | Indonesia | Male | Manufacturing | Inherited | 8.6 | ||
silvio-berlusconi | 78 | 5 | Married | Italy | Male | Media | Self-made | 6.8 | |
robert-kuok | 91 | 8 | Married | Malaysia | Male | Diversified | Self-made | 16.1 | |
andrey-melnichenko | 42 | 0 | Married | Russia | Male | Diversified | Self-made | 10.1 |
Slight riff on http://bl.ocks.org/cjhin/11ffe8165207693d513ad67f85d43251
This version uses d3 force layouts (and d3v4) to make it easier to read the nodes/circles. The catch is that b/c the force layout pushes the nodes horizontally, it's no longer possible to show as many years.
For now, this just shows a condensed chart of the past 10 years, theoretically at least one solution would be to make the chart "horizontally" scrollable"
Yeah it's bad pun sorry...
Playing with pie charts, base code from mbostock: https://bl.ocks.org/mbostock/3887235
From National Priorities Project https://www.nationalpriorities.org/interactive-data/taxday/ Their data and sources: https://www.nationalpriorities.org/analysis/2017/tax-day-2017/tax-day-2017-notes-and-sources/
Another riff on http://bl.ocks.org/cjhin/11ffe8165207693d513ad67f85d43251
This version uses d3 lines + d3 circles/points to create something similar to a bump chart.
How To:
Playing with https://codepen.io/desandro/pen/vdwMyW
Original code from Dave DeSandro https://codepen.io/desandro/
None of the code was written by me (Chas), I just wanted to play with it in a block.
Riff on https://bl.ocks.org/cjhin/259f74fc88ab4962ebb4d50308a5e9b3
Which is in turn a riff on https://codepen.io/desandro/pen/vdwMyW