Book Dataset with slider
This scatterplot visualization explores a Goodreads book dataset, plotting each book as a point according to selectable axes, such as average rating, page count, and review counts. The interface includes dropdown menus to change the X and Y axis attributes, as well as a separate dropdown to control the opacity of all the circles, allowing users to see density variations in the data. Built with React and d3.v6, the visualization uses `d3.scaleLinear` and `d3.extent` for axis scaling, `d3.axisBottom` and `d3.axisLeft` for rendering axes, and `transition().style('opacity', ...)` for smooth updates. Data is loaded from a CSV file using `d3.csv`.