Okraku, Isaac Antwi
iso_code in OWID Energy
Data & ADM0_A3 in the countries spatial data
GeoJSON).
During exploration, the columns below were selected because the
project focuses on the
electricity mix (not primary energy or
consumption), making the *_electricity and
*_share_elec families the most relevant. The
remaining columns which cover consumption, imports and per-capita
metrics are discarded.
The relevant attributes used in this project are:
| Attribute | Type | Subtype | Ordering Direction |
|---|---|---|---|
| country | Categorical | — | - |
| iso_code | Categorical | Key | - |
| year | Ordered | Quantitative | Sequential (2000 : 2024) |
| electricity_generation | Ordered | Quantitative | Sequential (0 : ∞) |
| coal_electricity | Ordered | Quantitative | Sequential |
| gas_electricity | Ordered | Quantitative | Sequential |
| oil_electricity | Ordered | Quantitative | Sequential |
| nuclear_electricity | Ordered | Quantitative | Sequential |
| hydro_electricity | Ordered | Quantitative | Sequential |
| solar_electricity | Ordered | Quantitative | Sequential |
| wind_electricity | Ordered | Quantitative | Sequential |
| fossil_share_elec | Ordered | Quantitative | Sequential (0 - 100%) |
| renewables_share_elec | Ordered | Quantitative | Sequential (0 - 100%) |
| carbon_intensity_elec | Ordered | Quantitative | Sequential |
| population | Ordered | Quantitative | Sequential |
| gdp | Ordered | Quantitative | Sequential |
| biofuel_electricity | Ordered | Quantitative | Sequential |
| biofuel_share_elec | Ordered | Quantitative | Sequential (0 - 100%) |
| fossil_electricity | Ordered | Quantitative | Sequential |
| renewables_electricity | Ordered | Quantitative | Sequential |
| low_carbon_electricity | Ordered | Quantitative | Sequential |
| low_carbon_share_elec | Ordered | Quantitative | Sequential (0 - 100%) |
| electricity_demand | Ordered | Quantitative | Sequential |
| coal_share_elec | Ordered | Quantitative | Sequential (0 - 100%) |
| gas_share_elec | Ordered | Quantitative | Sequential (0 - 100%) |
| oil_share_elec | Ordered | Quantitative | Sequential (0 - 100%) |
| nuclear_share_elec | Ordered | Quantitative | Sequential (0 - 100%) |
| hydro_share_elec | Ordered | Quantitative | Sequential (0 - 100%) |
| solar_share_elec | Ordered | Quantitative | Sequential (0 - 100%) |
| wind_share_elec | Ordered | Quantitative | Sequential (0 - 100%) |
The relevant attributes used in this project are:
| Attribute | Munzner Type | Subtype | Ordering Direction |
|---|---|---|---|
| geometry | Spatial(Position) | Polygon/Multipolygon | N/A |
| ADM0_A3 | Categorical | Key | N/A |
| NAME | Categorical | — | N/A |
Shows how each energy source's absolute generation (TWh) has changed over 25 years.
A snapshot of each source in absolute generation (TWh).
Observations:
These observations set the tone and help us develop client questions in the next section.
{Compare, Similarity} - Compare the
renewable adoption levels of economically similar countries; target
is Similarity because we judge how alike their adoption levels are.
{Locate, Outliers} - Locate (Search —
target known, location unknown) countries defying the GDP-transition
relationship; target is Outliers because these are exceptional cases
deviating from the trend.
{Discover, Dependency} - Discover
whether renewable adoption depends on GDP or whether other factors
(geography or population size) override wealth as a predictor;
target is Dependency since we test which attributes the outcome
depends on.
{Discover, Correlation} - Discover
whether GDP correlates with renewable share; target is Correlation
since we examine the relationship between two quantitative
attributes.
{Discover, Correlation} - Discover
whether geographic region correlates with source output. Target is
Correlation because we seek a relationship between region and
production.
{Browse, Distribution} - Browse the
map to see each source's geographic footprint; target is
Distribution since we examine how production spreads across
countries.
{Locate, Features} - Locate which
countries dominate each source; target is Features because dominance
is a distinct characteristic of the data.
{Discover, Trend} - Discover which
sources are rising, falling, or flat over 2000-2024; target is Trend
because we seek overall directional patterns across time
{Discover, Correlation} - Discover
whether fossil and renewable generation move inversely
(displacement) or both grow (addition on top); target is Correlation
because we test the relationship between two attribute groups over
time
{Derive, Trend} - Derive
fossil_renewable_balance by subtracting fossil share
from renewable share; target is Trend because the derived
attribute's trajectory over time reveals whether the balance shifts
toward renewables or stays flat
Our WHY analysis identified several action-target pairs that require derived attributes — quantities not present in the raw dataset but essential for the visual encodings in our HOW. The table below maps each derivation to the specific pairs it supports.
| Derived Attribute | Formula | Type | Ordering Direction | Supports | Purpose |
|---|---|---|---|---|---|
renewable_share_change |
renewables_share_elec(2024) - renewables_share_elec(2000)
|
Quantitative | Diverging (negative ← 0 : positive) | Q1 | Transition progress per country; negative = regression |
fossil_renewable_balance |
renewables_share_elec - fossil_share_elec |
Quantitative | Diverging (fossil-dominated ← 0 : renewable-dominated) | Q3 | Temporal trend reveals displacement vs addition |
gdp_per_capita |
gdp / population |
Quantitative | Sequential | Q1 | Normalised economic scale for correlation with transition |
A world map that morphs between two states. In choropleth mode, countries are colored on a yellow-to-green scale by renewable share of electricity — greener means greater energy transition. In cartogram mode, each country becomes a circle sized by GDP, so economic scale is obvious.
This design is inspired by the dorling cartogram (See example) and the energy use per person choropleth by OWID (See example). However this design is not a copy-and-paste solution. I incorporate my own creativity which would be discussed.
Marks:
Channels:
country geometry (spatial). Preserved exactly in the
choropleth; in the cartogram, circles drift to approximate
positions which is close enough to keep geographic intuition and
loose enough to let GDP drive the layout.
renewables_share_elec (ordered quantitative, 0 -
100%). A yellow-to-green sequential scale that stays constant
across both states. As a magnitude channel it satisfies
expressiveness for ordered data.
gdp (ordered quantitative,
cartogram only). This is the channel that makes Q1 answerable — a
large green circle says "wealthy and green", a large yellow one
says "wealthy but lagging."
Idioms applied:
Goals (Questions & Action/Target Pairs):
We address question one mainly with this visualization. Restating Question 1: Do countries with similar economic profiles have similar levels of renewable adoption, or do other factors override wealth as a predictor?
{Compare, Similarity} (Q1): the GDP
comparison overlay lets the user click two economically similar
countries and see their GDP circles, alongside renewable share and
dominant source.
{Locate, Outliers} (Q1): In cartogram
mode, a large circle (high GDP) that remains yellow (low renewable
share) is an outlier. Also, a small circle that is deep green
(high renewables despite low GDP) is the inverse outlier. The
viewer can then switch to choropleth mode and check if countries
in a specific region / area tend to have higher renewables which
would signal geography as a predictor of adoption.
{Discover, Correlation} (Q1): in
cartogram mode the dual encoding (area = GDP, color = renewable
share) lets the viewer scan the full set of bubbles to discover
whether large economies tend to be greener or not.
Techniques / Methods (Design principles):
How it answers Q1:
{Discover, Correlation}).
{Locate, Outliers} pair.
{Compare, Similarity} pair by letting
the viewer click two economically similar countries and see their
renewable adoption levels side by side, judging whether similar
wealth produced similar adoption.
What works:
Limitations and improvements:
Alternatives
This design presents a three-view coordinated dashboard consisting a of donut chart which acts as both a global overview of energy source generation and the primary controller for the coordinated views. The other two views respond to donut selections: a choropleth recolors to show that source's geographic distribution, and a ranked bar chart re-sorts to show the top 15 producers.
This design is inspired by Becker & Cleveland's (1987) coordinated views framework, the choropleth is inspired by OWID's energy explorer and the ranked bar chart builds on the bar chart race idiom.
However this design is not a dumb merge of these techniques. I extend this with my creativity which is discussed below.
Marks:
Channels:
source global TWh (quantitative). Angle is weak for
precise comparison, but the donut's job is overview and selection
so rough proportions are enough.
source identity
(categorical). Each source keeps its color across all views so the
viewer always knows which source they're viewing.
selected source share % (quantitative, sequential).
The ramp changes hue with the source, so the map feels different
for each selection.
country location (spatial). Lets the viewer spot
regional clustering — does solar concentrate in equatorial
countries? Does hydro follow mountain ranges?
source generation TWh (quantitative). The most
effective magnitude channel, used when precise comparison matters
most.
rank by selected source (ordinal). Top producers are
immediately visible without scanning.
Idioms applied:
Goals (Questions & Action/Target Pairs):
We address question two mainly with this visualization. Restating Question 2: Is there a relationship between a country's geography and the type of energy it produces and does this determine which nations lead in each energy source?
{Browse, Distribution} (Q2):
selecting a source on the donut recolors the choropleth to show
that source's geographic footprint.
{Locate, Features} (Q2): the bar
chart ranks the top 15 countries per source. Switching from coal
to solar and watching the leaderboard reshuffle directly answers
"do the same countries dominate, or does leadership differ by
source?"
Techniques / Methods (Design principles):
How it answers Q2:
{Browse, Distribution} ,{Locate, Features})
What works:
Alternatives
Marks:
Channels:
rank by TWh (ordinal). The most effective channel
carries the most important encoding (rank crossings are
immediately visible as streams swap vertical positions).
year 2000 - 2024
(quantitative). Left-to-right matches the natural reading
direction for time progression.
absolute generation TWh (quantitative). A secondary
magnitude channel so rank and generation magnitude are visible at
once.
source identity
(categorical). Seven sources stay within the perceptual limit of
color hues. The same colors are used from previous designs for
consistency.
Idioms applied:
Goals (Questions & Action/Target Pairs):
We address question three mainly with this visualization. Restating Question 3: Is the global energy transition a displacement of fossil fuels or is it due to renewables being added on top of growing total demand?
{Discover, Trend} (Q3): the stream
paths reveal the 24-year trajectory of each source's rank. The
viewer sees which sources are gaining ground and which are losing
it.
{Discover, Correlation} (Q3):
crossings show whether fossil decline tracks with renewable rise.
If solar's stream crosses above oil's at the same time oil
narrows, that's displacement. If oil stays wide while solar simply
grows above it, that's addition on top. The correlation (or lack
of it) is visible in the geometry.
Techniques / Methods (Design principles):
How it answers Q3:
{Discover, Trend} pair.
{Discover, Correlation}).
What works:
Limitations and improvements:
Alternatives
{Derive, Trend} pair, a diverging
area chart plotting the derived
fossil_renewable_balance over time would make the
displacement-vs-addition answer readable in a single line rather
than requiring the viewer to compare two streams.
{Locate, Outliers}), and the cartogram adds GDP so the viewer can check if wealth
matters ({Discover, Correlation}).
Outliers stand out easily — large yellow bubbles (wealthy but lagging)
and small green ones (poor but green) are obvious at a glance. The
comparison overlay helps with
{Compare, Similarity}, though it only
works for two countries at a time. Supporting three or more would make
it stronger.
{Browse, Distribution}, {Locate, Features}), making it easy to
see which countries lead each source and where production concentrates
geographically.
{Discover, Trend}), and crossings make overtake moments obvious without the viewer
having to search for them ({Discover, Correlation}). The {Derive, Trend} pair is only
partially covered — the TWh/share toggle hints at displacement vs
addition, but the fossil-renewable balance isn't shown as its own
line.
Munzner's framework was valuable for structuring design decisions. Without it, the designs would likely have started from aesthetics rather than analytical goals.
One limitation is that Munzner's effectiveness rankings treat channels in isolation, but in practice channels work in combination — for example, area is weak on its own, but pairing it with color in the cartogram makes GDP and renewable share readable together.
| Item | What it is | How it was used |
|---|---|---|
| Dorling, D. — "Area Cartograms" (1996) | Cartogram technique replacing polygons with sized circles | Design 1 morph destination; animated choropleth-cartogram transition is the extension |
| Our World in Data — energy visualizations (ourworldindata.org/energy) | Choropleth maps and line charts of global energy data | Baseline for Designs 1 & 2; extended with animated icon hover and source-driven recoloring |
| Bostock, M. — D3.js Observable choropleth example D3 Choropleth | Standard D3 geographic visualization reference | Starting point for map implementations in Designs 1 & 2. Extended with cartogram morph (Design 1) and source-driven recoloring (Design 2) |
| Becker & Cleveland — "Brushing Scatterplots" (1987) | Foundational coordinated views and brushing-and-linking | Design 2 extends with donut-as-selector and source-driven map recoloring |
| Bostock, M. — D3 Donut Chart (Observable) | D3 donut code. Enter/update on arc segments | Adapted for Design 2 donut; extended to act as an interactive source selector driving coordinated views |
| "Bar Chart Race" (Flourish, D3 community) | Animated bar charts re-sorting over time | Design 2 adapts re-ranking animation, triggered on source selection rather than time |
| Bump charts (e.g. NYT election graphics) | Line charts encoding rank over time with crossings | Design 3 replaces lines with variable-width streams, adding TWh as a second dimension |
| Bostock, M. — D3 Bump Chart (Observable) | D3 bump chart code pattern: scalePoint for ranks, line generator with curveBasis | Adapted for Design 3; lines replaced with variable-width area streams encoding TWh magnitude |
| Byron & Wattenberg — "Stacked Graphs" (2008, IEEE InfoVis) | ThemeRiver / streamgraph technique | Design 3 borrows the stream form but allows crossings — a streamgraph–bump chart hybrid |
| Scrollytelling (The Pudding, NYT data journalism) | Animated narrative with data-driven annotations | Design 3 animated build with auto-generated crossing callouts |