Skip to main content
100%

A Book's Expected Gross Sales Based on Publisher (CS 573 Assignment #4.1)

✓ Published0🌍 Public

This bar chart displays the average gross sales per book for seven major publishers, using the Book Publishing Dataset. A horizontal bar represents each publisher, with bars colored red for averages below $1,500 and green for those above, and hovering turns the selected bar yellow. The visualization is built with D3.js v5, using `csv` to load data, `scaleLinear` and `scaleBand` for axes, and `axisBottom` and `axisLeft` for tick marks, rendered as SVG.

AI-generated description

A Book's Expected Gross Sales Based on Publisher

This is a bar chart that using the Book Publishing Dataset to look at a book's expected gross sales based on which publisher publishes the book. This value was computed by all the gross sales for all of a publisher's books and then dividing that by the total number of books the publisher has published. It is using the data from

Any publisher whose expected gross sales per book is less than 1.5k is colored in red; if the value is greater than 1.5k, they are colored in green. Users are able to highlight a specific publisher by moving their mouse over a bar; making the bar yellow.

MIT Licensed

Similar vizzes