🔗 Unlisted
Viewing a saved revision (read-only)
82cae6170ff74c92a6e6d9a94597a4a8
ICE-6 Encoding Data with Marks and Channels
This bar chart shows the average credit amount for each loan purpose in a German credit dataset, with purposes on the x-axis and average amounts on the y-axis. The visualization uses d3.csv to load the data, d3.rollups to aggregate by purpose, and d3.mean to compute averages. Rectangles are drawn with d3.scaleBand and d3.scaleLinear, while axes are rendered using d3.axisBottom and d3.axisLeft, with rotated x-axis labels and SVG text for titles.
AI-generated description