Skip to main content
100%

Car price

✓ Published0🌍 Public
SSwapna1915
Last edited Jul 13, 2023
Created on Jul 13, 2023
Forked from Hello VizHub

This example displays the distribution of movie ratings (below 5.0, 5.0-6.5, etc.) as a horizontal stacked bar chart across different genres. Each bar segment represents the percentage of ratings for that genre, with interactive tooltips revealing exact values on hover. The visualization is built using D3.js v7, leveraging `d3.stack`, `d3.scaleOrdinal`, and `d3.axisBottom` to process and render the data from a local CSV file. Color-coded legends identify each rating category, and the chart is rendered as SVG within a fixed canvas.

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