Activity6_Question4
✓ Published1🌍 Public
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 descriptionMIT Licensed