juweek
@juweek.bsky.social
100 followers 83 following 87 posts
I use code to make diagrams #dataviz #data #creativecode #p5js juweek.studio
Posts Media Videos Starter Packs
This chart is one of my favorites of all time, but it takes time to interpret.

It's from a Bloomberg article looking at how the world's diets have changed over time. TLDR is that our food diversity has decreased. This chart looks at three specific examples in China, South Korea, and the Maldives.
Six circular diagrams comparing main calorie sources in Mainland China, South Korea, and the Maldives between 1961 and 2019.

In China, sweet potatoes (19%) in 1961 were replaced by pork (11%) and wheat (17%) in 2019.

In South Korea, barley (27%) nearly vanished as wheat and soybean oil rose.

In the Maldives, coconuts and sugar dominated in 1961, replaced by rice (23%), wheat (20%), and fish (8%) by 2019. Blue labels mark foods that decreased, red those that increased.

https://www.bloomberg.com/graphics/2022-global-diet-homogeneous-food-security-risk/
Such an interesting piece from Our World in Data - most food is transported by boat.

I had always assumed that transport was a big part of the food system's carbon footprint, but apparently its only like 5% of emissions
Infographic comparing global food transport methods by share and emissions. Boats carry 59% of food miles with only 20g CO₂ per tonne-kilometer, roads 31% with 400g, rail 10% with 60g, and planes just 0.2% but emit 1130g CO₂ per tonne-kilometer. The chart highlights that most food is shipped by boat, which is far more carbon-efficient than air transport.
the ultimate goal is to create a pokédex; something digital that can help people understand the world around them. idk what everyone else wants to do, but that's my goal
feels like a bunch of people are already in the matrix. everyone has their content ecosystem to the point that they have different realities
creating a tool that lets you customize charts quickly

been helpful for me personally, but that's cuz i love a well-designed chart. hoping to share it more widely soon
hand drawn charts are always so fun
what a great cover
building out the foundation of a youtube video analyzer, trying to do some basic NLP (it's mostly useless)

happy with the basics and gonna iterate on the design, but i must admit this project is a great speedrun on many things backend-related
now that code is easy to create, some muscles that seem important:

- understanding what people need
- fun interaction design
- backend scaffolding
- speed
one thing that's underrated is how fun it is to use your own product, and how annoying it is when it doesn't pass the vibe check
my current side project is a food scanner, and thinking of your market advantage is an interesting thought exercise. my current approach is focusing on the visuals
here’s what the new dataset looked like, and how the model predicted if they were ‘preferred’ or not (1 is preferred). the results were pretty solid, with a protein-fat threshold somewhere around 5:1

i think ML can be confusing, but understanding what's going on makes it less so
similarly, i have a section dedicated to one of python's default classification models. i wrote this back when ML was new to me, but it's fun seeing myself cover fundamentals

I selected a regression model, defined a training set, and trained a script for binary classification
the next step was preprocessing the data. I go into more detail in my guide, but here’s a screenshot of what I did. Basically, I made the data as easy to process as possible—standardizing, scaling, and encoding each food item into different categories. data science basics
here was what the distribution of the foods looked like. i believe it was per 100g serving
the goal was to create a model that could classify foods based on if they met my protein-fat ratio requirements. i got the data from USDA FoodData nutritional database

here’s how the raw data looked . There are fields for Descrip (the actual food item) and a bunch of nutrients
in the spirit of education, here's a quick thread on how i built a basic nutrition classifier in python

it helped me identify foods with a high enough protein-to-fat ratio for my diet.
my current jam is gamifying experiences, and I've been thinking up quick ideas to code

here's a currency converter for my visual folks out there
ever get confused about the different crypto coins? so do I, so I made this chart that compares the market caps and daily transactions of a few ecosystems. this was made with Feb 1 data

it's fun to see how much this looks like a solar system, and how each ecosystem has their own behaviors
something like 10 - 15% of earth is used to feed humans right now, and most of that is for livestock. heres a graph

funny thing is if u think about it, there's an inverse relationship between animal welfare and enviro impacts, eg free range/cage free options require more land

god's funny
Sankey diagram titled 'How the World Uses Its Land,' illustrating the distribution of Earth's surface and the allocation of habitable land. The chart shows that 71% of the Earth's surface is covered by the ocean, while 29% is land. Of this land, 22% is classified as habitable, with the remainder being glaciers (3%) and barren land (4%). The habitable land is further divided into different land uses: about half (48 million km²) is used for agriculture, including grazing land (~7%), cropland for food (~2%), cropland for animal feed (~1%), and non-food/biofuel crops (0.4%). Other land uses include forests (~8%), shrublands (~3%), lakes and rivers (~1%), and urban areas (0.2%). The chart highlights that a significant portion of agricultural land is dedicated to livestock rather than direct human food production.
visualizing diff social media sites; size of circle equals revenue, number of particles equals MAU (these are estimates from ~2024)

might write on this but my tldr thoughts
- tiktok is growing crazy rn and has hella space to grow revenue
- meta's market reach is underrated
i'm mixed on opinions of efficiency, but some trends are easy to see in this map. eg, north west Iran probably has a lot of population centers
looking at some maps with Iran, and at least with this study, there is a preference for diving information by geography. kind of like a choropleth, but not quite... this is a map of rural houses (basically museums) by province
the solution to avoiding synthetic fertilizers is to:

- eat organic
- reverse osmosis water filter
- buy from farms practicing sustainable farming
- large government action

some are more feasible than others
fertilizers have their place in growing societies, but it's worth noting that Europe dropped their usage in the 90s after realizing the environmental consequences. The US kept going, and our usage has remained relatively stable
"Stacked area chart showing the increase in synthetic fertilizer use in the U.S. since 1960, measured in millions of tons. The chart highlights three types of fertilizers: Nitrogen (N) as the largest contributor, followed by Potash (K2O) and Phosphate (P2O5). Fertilizer use peaked around 1980, fluctuated slightly, and stabilized at high levels post-2000. Source: FAO Fertilizers by Nutrient database, July 17, 2024."