Scatter Plot: Books' Average Rating Compared to Number of Ratings (CS 573 Assignment #3.1)
This scatter plot visualizes the relationship between a book's average rating and its number of ratings using the Book Publishing Dataset. It reveals a slight trend where books with more ratings tend to have lower average ratings, while also showing that higher-rated books generally sell more copies. The visualization encodes the number of units sold through circle size, with points rendered as semi-transparent green circles. The code uses d3.csv for data loading, d3.scaleLinear for axes and size mapping, and d3.axisLeft and d3.axisBottom for chart axes within an SVG rendered by d3.select.
AI-generated descriptionBooks' Average Rating Compared to Number of Ratings
Using the Book Publishing Dataset, this scatter plot aims to show the relationship between a book's average rating and its' number of ratings. The size of the points is based on the number of units the book sold.
Looking at the visual, you can see a slight trend that suggests that books with more ratings have a lower average rating. The visual shows that, as expected, the books with more ratings have sold more copies