Skip to main content
100%

Activity-8_Question-3

✓ Published0🌍 Public
Ttharunramula@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

This scatter plot visualizes the distribution of movie ratings across six genres, with each genre positioned along the x-axis and a proportional rating value displayed on the y-axis. The chart encodes five rating categories using a distinct color palette, allowing viewers to compare rating patterns among genres. The visualization is built with D3 v7, using `d3.scaleBand` for the categorical axis, `d3.scaleLinear` for the continuous axis, and `d3.scaleOrdinal` for color mapping. Each rating value is represented as a circle, with the data loaded from a hardcoded JavaScript array.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes