Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_task4

Public visualization

Viewing a saved revision (read-only)

f921957f659845e69a62abbf104ed44e

Activity6_task4

0 stars0🌍 Public
Ssivachandraramanaidu.vnof52@gmail.com
Last edited Apr 7, 2025
Created on Apr 7, 2025
Forked from Act6_ques4

This bubble chart shows the relationship between company revenue and profit, with bubble size encoding employee count. The visualization uses D3 v7 to render SVG circles scaled against linear axes. Revenue appears on the x-axis, profit on the y-axis, and each bubble’s radius is derived from the Employees value. The chart includes axis labels and a tooltip that appears on hover, displaying company details. Data comes from an embedded CSV-like array within the script, listing 30 companies with their financial metrics. The implementation uses d3.scaleLinear for axes and bubble sizing, with d3.axisBottom and d3.axisLeft for the scales.

AI-generated description