Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cost Analysis

Public visualization

Viewing a saved revision (read-only)

b11f5db5850d45b8bb6b4ed9057b4e11

Cost Analysis

0 stars1🌍 Public
LLex
Last edited Jul 26, 2020
Created on Jul 26, 2020
Forked from Customizing Axes

The visualization compares one-year versus ten-year costs for two job roles, shown as a pair of side-by-side pie charts. It uses D3 v5’s `d3.pie` and `d3.arc` to generate the slices, with `d3.scaleOrdinal` assigning categorical colors. Data is loaded from two separate CSV files via `d3.csv`, and both charts are rendered as SVG inside a shared `<svg>` container. The title “one year cost vs ten years” and dollar-value labels make the quantitative comparison explicit.

AI-generated description