Skip to main content
100%

Monthly Users of Streaming Platforms

✓ Published0🌍 Public
Vvineelaramulapalli32
Last edited Jul 21, 2023
Created on Jul 21, 2023
Forked from D3 Starter

This visualization shows the monthly user counts for five streaming platforms across five months, using a stacked horizontal bar chart where each bar segment is colored by platform. The chart uses D3 v7 with an SVG rendering approach, applying `d3.stack()` to create the stacked data, `d3.scaleBand()` for the categorical month axis, and `d3.scaleOrdinal()` with a category10 color scheme for platform colors. Data is loaded from a CSV file via `d3.csv()`, with axes and labels drawn using `d3.axisBottom` and `d3.axisLeft`.

AI-generated description

Each row represents a month, and the columns represent the number of users of each platform in that month (in thousands).

Visualization

The visualization code is contained in the index.html file, and the styles are defined in the styles.css file.

To view the visualization, open index.html in your web browser.

MIT Licensed

Similar vizzes