Fork of IMDb Movie ratings
This visualization displays the COVID-19 infection rates across various regions and countries. Using a bar chart rendered via SVG, it maps each geographic area to a proportional bar height, with the y-axis representing the infection rate as a fraction. The code employs d3.scaleBand and d3.scaleLinear to position the bars and scales the data, while d3.axisBottom and d3.axisLeft generate the labeled axes. Hovering over a bar changes its color to orange, providing an interactive highlight. The dataset is embedded directly in the script as an array of objects.
AI-generated descriptionThe impact of genre on movie ratings
This stacked bar chart gives the percentage of each rating level within different movie genres. The aim is to show the impact of genre on movie ratings. When the mouse hovers over each bar, you can see pop-ups of accurate percentage of each rating level within each genre. Total percentage is 1, representing 100%.