Loading Carnegie Museum of Art Data
This example demonstrates the process of loading and parsing a CSV dataset from the Carnegie Museum of Art, which contains metadata for artworks including titles, creation dates, and dimensions. The visualization initially displays a placeholder showing "LOADING" as a `<pre>` element, then asynchronously fetches the data using the `fetch` API. After the dataset is retrieved, the code uses D3's `csvParse` function to convert the CSV string into an array of objects, converting date fields into JavaScript `Date` objects and numeric fields into numbers. The resulting parsed data is then displayed as JSON in the `<pre>` element.
AI-generated descriptionFrom: https://www.kaggle.com/datasets/mfrancis23/carnegie-museum-of-art
Carnegie Museum of Art made its collections records of accessioned artworks public. It contains data on around 28269 objects across all departments such as fine arts, decorative arts, photography, contemporary art, and the Heinz Architectural Center.
Each record has attributes including title, artwork creation date, date acquired by the museum, the physical location of artworks, size, some information about the artist, etc.
Since the dataset contained a lot of artworks/records, the file size exceeded the limit mentioned in the assignment. Therefore, the dataset was processed down to hold less than 10,000 rows of data.
This dataset is being offered under CC0 1.0 Universal license.