[OC] China's fossil vs zero-carbon electricity generation, 2015–2025 — a redesign of an S&P Global chart

April 23, 2026
2 views
AC
By Alex Cartwright
[OC] China's fossil vs zero-carbon electricity generation, 2015–2025 — a redesign of an S&P Global chart
Click to enlarge

Data Analysis

What This Visualization Shows

This data visualization displays "[OC] China's fossil vs zero-carbon electricity generation, 2015–2025 — a redesign of an S&P Global chart" and provides a clear visual representation of the underlying data patterns and trends. The visualization focuses on S&P Global is a reputable company, and they recently produced a chart about China's power sector that looks impressive. When I actually tried to read it, though, it turned out to be almost unreadable. So I redesigned it. You can see the data and the code in [this gist](https://gist.github.com/bgbg/ed7119d41c74332ddc9268e747994ea0).

**So, what is the problem?**

As I argue in ["C for Conclusion"](https://gorelik.net/2018/06/25/c-for-conclusion), the title of a graph should *be* its conclusion: a short, declarative claim that tells the reader what they are supposed to see. In the S&P chart, the title takes about two minutes to read, and once you're done, it is still completely detached from the graph itself.

A separate, very important problem is the **double y-axis**. This is a big no in data visualization. For example, the point where the red emissions line crosses the brown coal area visually implies that the two values are equal. They are definitely not. They are on different scales and in different units entirely (TWh vs. GtCO₂). There are many more problems with double y-axes (spurious visual correlations, arbitrary choice of scaling, etc.), but that is the cleanest example in this chart.

**What I did**

The key was to use the title as the guiding force towards the visualization.

1. I asked Claude to restate the title, making it much shorter, so its meaning is obvious in one read. 2. Then I asked Claude to digitize the data from the chart pixels. I admit digitization probably introduced some errors (\~±3–5%). 3. Then I asked it to create a better version following standard dataviz principles. The result was already much better. My prompt was

​

this graph is bad in many ways. First - extract the data from the graph, then, shorten the title to still be a conclusion, next - create a static graph that shows the conclusion in the graph, adhering to best data visualization principles. Pay special attention to data-ink ratio and to useful redundancy and information layers

4. Then I asked Claude to simplify it even more. **This is what you see right now.**

**To sum up**

A chart's title should be its conclusion, and the chart should back that conclusion up at a glance. If the reader has to squint at a three-line title, reconcile two y-axes in their head, and distinguish between three near-identical shades of blue before they can extract the point — the chart is doing far less work than it should. Fixing this does not require fancy tools. It requires deciding what claim you are making, and then letting the visual serve that claim.

**Data source:** Digitized from S&P Global, *Look Forward: Energy Futures* (Feb 2026). Values are approximate (±3–5%) due to pixel-level reading of the original chart. For rigorous use, substitute numbers from Ember's Global Electricity Review or the IEA World Energy Outlook.

**Tools:** Python, matplotlib, Claude (Anthropic).

**Code & data:** [https://gist.github.com/bgbg/ed7119d41c74332ddc9268e747994ea0](https://gist.github.com/bgbg/ed7119d41c74332ddc9268e747994ea0)

\----- Boris Gorelik Data visualization lecturer and consultant, which allows us to understand complex relationships and insights within the data through visual storytelling.

Deep Dive into the Topic

This data visualization represents a sophisticated analysis of complex information patterns that provide valuable insights into underlying trends and relationships. Data visualization serves as a bridge between raw numerical data and human understanding, transforming abstract statistics into comprehensible visual narratives.

The power of data visualization lies in its ability to reveal patterns, outliers, and correlations that might not be apparent in traditional tabular formats. Through careful selection of chart types, color schemes, and interactive elements, effective visualizations can communicate complex information quickly and accurately to diverse audiences.

Modern data visualization combines statistical analysis with design principles to create compelling visual stories. This interdisciplinary approach requires understanding both the underlying data and the cognitive processes involved in visual perception. The result is more effective communication of quantitative insights that can inform decision-making and drive positive change.

Data Analysis and Insights

The patterns revealed in this visualization demonstrate the importance of systematic data analysis in understanding complex phenomena. By examining different data segments, time periods, and categorical breakdowns, we can identify trends that inform strategic planning and decision-making processes.

Statistical analysis of this data reveals variations across different dimensions that provide insights into underlying drivers and relationships. These patterns help identify areas of opportunity, potential risks, and key performance indicators that can guide future actions and resource allocation.

The analytical approach used in this visualization enables comparison across different categories, time periods, or geographic regions, revealing insights that support evidence-based decision-making. This type of analysis is essential for organizations seeking to optimize performance and understand complex market dynamics.

Significance and Applications

This data visualization has important implications for understanding trends and patterns that affect decision-making across multiple sectors. The insights derived from this analysis can inform policy development, business strategy, resource allocation, and operational improvements.

For analysts, researchers, and decision-makers, this type of data visualization provides essential insights for strategic planning and performance optimization. Whether addressing operational challenges, market analysis, or policy development, understanding data patterns helps create more effective strategies and solutions.

The broader significance lies in how this information contributes to our understanding of complex systems and relationships. This knowledge helps predict future trends, identify potential challenges, and develop more informed approaches to problem-solving and opportunity identification.

Comments

Loading comments...

Leave a Comment

0/500 characters

About the Author

Alex Cartwright

Alex Cartwright

Senior Data Visualization Expert

Alex Cartwright is a renowned data visualization specialist and infographic designer with over 15 years of experience in...

Infographic DesignData AnalysisVisual Communication
View Profile

Visualization Details

Published4/23/2026
CategoryData Analysis
TypeVisualization
Views2