Автора пока нетВзять себе
- Лицензия
- CC BY 4.0По материалам ourworldindata.org
- Языки
- English
- Темы
- Наука
Our World in Data keeps more than 100,000 indicators in its internal database, yet only the data that authors use in charts is easily accessible for download. In a post, the developer team described the work they planned to open that collection up and make charts more flexible. The plans fell into three groups: easier data reuse, a richer data model and more flexible visualizations.
Easier data reuse
Every chart has a “Download” tab with a CSV of the underlying data, but that exposes only what authors use in charts. Ernst, the head of product design, likens the rest to a museum showing a small part of its collection. The team planned to release all of it in a form convenient for data scientists: a public index to discover what data exists, and a tidy data frame in a modern format such as Apache feather or parquet that is easy to use from Python, R or Observable notebooks. An experimental index was already available through the owid-catalog-py Python package.
Metadata gets the same treatment. The data comes from large institutions such as the World Bank and the WHO and from individual researchers, so knowing where it came from helps readers judge how far to trust it. Harmonizing date formats and country names lets datasets be joined, but real insight also needs a record of how data was collected and its limits. The team planned to standardize this metadata and always serve it as JSON alongside the data files.
A richer data model
All data points currently sit in one large MySQL table with four columns: year or date, entity or country, variable and value. That worked because most data is heavily aggregated, but COVID-19 data already strained it by needing daily values. The team wanted additional granularities of time and breakdowns by sex or age group where sources provide them.
Today each breakdown becomes its own variable, such as “Deaths - smoking - female - age 15-25,” and authors must remember which to show together. With extra dimensions stored, one variable could carry many dimensions and users could switch between levels of detail. Support for hierarchies within dimensions would allow drill-down and drill-up: the country selector could show separate sections for groupings such as continents, and the same could work for dimensions like cause of death. A further goal was to describe relationships between variables, starting with proper confidence intervals, so charts can show uncertainty, which is rarely done now because of interface problems.
More flexible charts
- Beyond the grapher. Authors could create slideshows of static images or use other visualization libraries. One idea in progress: a chart of war casualties over several hundred years, with conflicting estimates and different kinds of casualties.
- A reusable grapher. The charting code is entangled with the internal administration interface and assumes much about its infrastructure. The plan was to split it into a separate NPM package, and since all the code is open source, to make it easier for others to contribute.
- Open exploration. Users could search for and visualize any variable in the catalog, relying on metadata good enough that no extra configuration is needed.
- Context beside charts. Concepts like “International constant $” are now explained in prose elsewhere or squeezed into subtitles. A new canvas next to a chart could summarize them, possibly with secondary charts or third-party content.
- Authoring. Articles are stored in a headless WordPress installation, but authors prefer Google Docs. The ideal is to embed and configure interactive charts there directly.
The team said donations let it grow the technical team and work faster, and invited people to join or to sign up as early adopters through a beta mailing list.
Sources
- Daniel Bachler, Easier data reuse and more flexible visualizations - what we in the developer team are working on, Our World in Data, November 30, 2021, licensed CC BY 4.0. Changed here: shortened and reworded, hiring notice and screenshots left out; rewritten in hubnx's own words.
Комментарии




