Assignment 8 Book Data

Author

Luke Peterson

Intro

How do books vary across rating, price, and availability? Is there a large gap between books based on

on how the book is rated compared to it’s price? What factors come into play?

I will be collecting data from books.toscrape a website specifically designed for web scrapping and I will be looking at the variance of price and the variance of rating of books to find logical conclusions about how books are rated compared to their price. The price and rating of books are important for determining the overall value of the book because it will show how people rate the books compared to what they will pay for said books. Here I will be showcasing 200 different books and they compare with price and rating.

Summary of scraped data

total avg_price median_price min_price max_price avg_rating
200 34.8 35.64 10.16 59.64 2.87

Plot of book prices across scraped data

Here we can see a pretty even distribution of prices across the range. Two notable out liars are $60 and $10 dollars as most books are priced between the range.

Plot of book ratings across scraped data

Here is a slightly skewed distribution showing a very slight highlighting of one star books. This is interesting as many books are not normally rated one star as people who heavily dislike a book to rate it one star will most likely not rate it all.

Plot of price and rating

The book to price relationship has no key correlation indicating a positive or negative relationship between the price and rating.