Loading Data - Goodreads Books
✓ Published0🌍 Public
This example demonstrates the initial step of a data visualization pipeline: loading a Goodreads dataset from a CSV file. It shows raw JSON-formatted data in a `<pre>` element, with attribute names and values like book titles and ratings clearly visible. The code uses D3 v7's `csvParse` and `select` within a state-management pattern, where `fetch` retrieves the file and `setState` updates the view after parsing. The visualization itself is minimal, displaying the loaded data structure without any graphical encoding.
AI-generated descriptionThis is a data set scraped from Goodread's API and can be viewed on Kaggle here: https://www.kaggle.com/datasets/jealousleopard/goodreadsbooks/data
Attributes include the following:
- BookID
- Title:
- Authors
- Average Rating
- ISBN
- ISBN12
- Language Code
- Num Pages
- Ratings Count
- Text Reviews Count
- Publication Date
- Publisher
MIT Licensed