Embeddable charts
Drop our charts into your article.
Each chart below is a self-contained page you can embed with a single
<iframe>. Free under Creative Commons attribution
(CC BY 4.0), just credit The Aso Rock Index. Charts auto-resize
to the iframe and stay updated whenever we refresh our data.
Available charts
3 charts · more on requestExternal debt added, by president
World Bank IDS<iframe src="https://asorockindex.org/embed/debt-by-president.html" width="100%" height="400" frameborder="0" loading="lazy" title="External debt added by Nigerian president, 1999 to 2023"></iframe>
GDP added, by president
World Bank WDI<iframe src="https://asorockindex.org/embed/gdp-by-president.html" width="100%" height="400" frameborder="0" loading="lazy" title="GDP added by Nigerian president, 1999 to 2023"></iframe>
Winning vote share, 1999 to 2023
INEC<iframe src="https://asorockindex.org/embed/elections-share.html" width="100%" height="400" frameborder="0" loading="lazy" title="Winning presidential vote share, Nigeria 1999 to 2023"></iframe>
How to use
Drop in any article
Copy the <iframe> snippet above and paste it into your CMS, Substack post, Notion page, or HTML article. Most platforms render iframes natively, Substack, Ghost, WordPress, Webflow, Medium (with a custom embed), Notion (with a Web Bookmark or /embed block).
Customize the sizing
- Width:
100%usually works best, the chart fills its container. - Height:
400pxis our recommended default. You can go as low as320pxon mobile-only pages. - Charts are responsive within their iframe. Labels resize cleanly down to about 520px width.
License & attribution
All embeds are released under Creative Commons Attribution 4.0 (CC BY 4.0). You can use them in any context, journalism, research, presentations, commercial work.
We just ask for a credit. The chart's footer already links back to asorockindex.org; if you remove that, add a "Source: The Aso Rock Index" line near the chart.
Need a chart we don't have yet?
Open an issue at github.com/kossisoroyce/aso-rock-index or email [email protected] with what you'd like to embed. If the underlying data is already in our Open Data API, we can usually ship a new embed in a day.