Skip to main content
100%

fresh block

✓ Published0🌍 Public
TTerrySmithDC
Last edited Apr 7, 2017
Created on Apr 7, 2017

This example shows Dota 2 player earnings and country totals as a simple scatter-like SVG visualization, with blue rectangles positioned per player or nation. The code loads earnings.json, reduces the data into objects pairing names with numeric earnings, and uses a d3.scaleLinear to map the earnings range to a 300-pixel scale. It attempts to draw rectangles using d3.axisLeft for the y-axis, though the x-position is set to the player name string rather than a numeric scale. The visualization relies on D3 v4’s selection and scale APIs.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes