Skip to main content
100%

ICE-6_Shanmukha

✓ Published0🌍 Public
Sshanmukhadatta4040@gmail.com
Last edited Mar 18, 2024
Created on Mar 12, 2024
Forked from Circles with D3

This scatter plot visualizes patient data, showing the relationship between length of hospital stay and treatment cost. The D3.js v6 code loads CSV data from a remote URL, parses numeric fields, and renders circles positioned by linear scales for the x and y axes. The visualization includes labeled axes with custom formatting, using d3.axisLeft and d3.axisBottom for the treatment cost and length of stay scales. The SVG rendering approach positions each data point as a steelblue circle, with margins and dimensions optimized for display in a frame.

AI-generated description

Creating circles with D3.

Challenge

  • Fork this example
  • Modify it
  • Maybe make it Halloween themed
  • Maybe make it Christmas themed
  • Be creative
MIT Licensed

Similar vizzes