Company
Date Published
Author
Igor Lukanin
Word count
1572
Language
English
Hacker News points
None

Summary

This tutorial teaches how to use Google Charts and an open-source API called Cube to build a data-driven dashboard about the Museum of Modern Art's collection. The project uses a public dataset from MoMA, which contains metadata for artworks in the museum's collection. The code is written using JavaScript and utilizes a declarative data schema to connect to a Postgres database. Once connected, the code queries the dataset and configures charts to display various types of visualizations, including line charts, bar charts, and pie charts. The dashboard also includes interactive elements, such as filtering and selecting artists' names, which affect the displayed data. The project showcases how Google Charts can be used to create engaging and informative dashboards, while Cube provides a simple way to access and manipulate data from the front end.