Skip to main content
100%

Loading Data - Goodreads Books

✓ Published0🌍 Public
AAlexis Caira
Last edited Sep 4, 2025
Created on Sep 3, 2025
Forked from Loading Data

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 description

This 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

Similar vizzes