Trending YouTube Video Statistics (US Video)
This visualization displays a raw JSON representation of the first 1000 rows of YouTube trending video statistics from August 2020, loaded from a GitHub-hosted CSV file. The code uses d3.csvParse to fetch and parse the dataset, then d3.select to render the parsed data as formatted text within a <pre> element. The visualization demonstrates a simple data-loading workflow where the state transitions from undefined to a loading message before displaying the final array of video objects.
AI-generated descriptionThis data set contains data on YouTube tranding videos from August 2020. The source dataset is large, so I took the first 1000 rows. Original source: https://www.kaggle.com/datasets/rsrishav/youtube-trending-video-dataset?select=US_category_id.json
In addition: The key for categoryIDs can be found here: https://www.kaggle.com/datasets/rsrishav/youtube-trending-video-dataset?select=US_category_id.json