Skip to main content
100%

Project_Crop_Yield

✓ Published0🌍 Public
PPothuguntla Pranitha
Last edited Apr 26, 2024
Created on Apr 26, 2024

This example shows a bar chart of crop types from a crop yield dataset, with the number of records for each crop type represented by bar height. It uses d3.csv to load the data, d3.rollup to aggregate counts by crop, and d3.scaleBand and d3.scaleLinear to map crop names and counts to x and y positions. The bars are rendered as SVG rects, with axes added via d3.axisBottom and d3.axisLeft.

AI-generated description

The 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%.

MIT Licensed

Similar vizzes