Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE -7 : Experience vs Compensation (Area Chart)

Public visualization

Viewing a saved revision (read-only)

80b9b145a5c241cfb8138f292ab013da

ICE -7 : Experience vs Compensation (Area Chart)

0 stars0🌍 Public
AArun
Last edited Mar 28, 2024
Created on Mar 27, 2024

This area chart visualizes the relationship between years of experience and salary, showing a clear upward trend in compensation as experience increases. The chart uses a green filled area beneath a black line to emphasize the growth pattern across the dataset. Built with D3 v7, the visualization employs d3.area() to generate the area shape, d3.scaleLinear() for both axes, and d3.axisBottom and d3.axisLeft for the tick marks. The data comes from a CSV file loaded via d3.csv, with the x-axis representing years of experience and the y-axis representing salary, rendered as an SVG within an 800x600 pixel canvas.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.