ICE 6: Bar chart showing math scores over parental level of education.
This bar chart displays math scores as they relate to parental level of education, using data loaded via `d3.csv` from a GitHub gist. The visualization employs `d3.scaleBand` and `d3.scaleLinear` for positioning, with a `d3.scaleQuantize` color scale based on the score values to encode magnitude. Each bar’s height and fill are determined by the corresponding salary data, despite the chart’s title referencing the original dataset. Axes are rendered with `d3.axisBottom` and `d3.axisLeft`, and a categorical color legend is included via the `d3.legendColor` API.
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%.