Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Question4

Public visualization

Activity6_Question4

0 stars1🌍 Public
Kkandooriabhiram@gmail.com
Last edited Apr 1, 2025
Created on Apr 1, 2025

This bubble chart visualizes the relationship between market capitalization and employee count for top tech companies, with each circle’s radius proportional to market cap and its color representing the company’s industry sector. The visualization uses d3.scaleSqrt for bubble sizing, d3.scaleOrdinal with d3.schemeSet2 for categorical coloring, and renders axes via d3.axisLeft and d3.axisBottom. A legend generated with d3.scaleOrdinal and SVG rect elements displays the industry categories. The chart reads data from a CSV file using d3.csv and renders all graphics as SVG elements within a 960×600 viewport.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed