Skip to main content
Public

Share visualization

Loading preview…

Fork from AI: Change Radial Layout Cartesian

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportHTML, source ZIP

Fork from AI: Change Radial Layout Cartesian

0 stars0Public
CCurran Kelleher
Last edited Oct 22, 2026
Created on Oct 22, 2026

Created from react-d3-starter template

Which College Majors Are Safest From AI (and Do They Pay)?

An interactive "sun/rays" chart showing AI exposure for occupations, grouped by job family. Each occupation is drawn as a horizontal ray extending from a zero baseline; ray length and color encode overall AI exposure. Job families are sorted by their average exposure, and family averages are marked with circles.

Data

Occupations and their AI exposure scores are loaded at runtime from /data/major_occupations.csv via the project dataset proxy.

Running

Open index.html — it renders a single-page React + D3 visualization. The chart also renders standalone (without the Visual Editor sidebar).

Visual Editor Controls

The visualization is configured through config.json. All controls below are exposed in the VZCode Visual Editor sidebar and persist back into config.json; changes are applied live without reloading the dataset.

Control Property Type Effect
Low exposure color colorLow color Color for the most negative exposure values
Neutral (zero) color colorMid color Color at the zero baseline
High exposure color colorHigh color Color for the most positive exposure values
Ray min width (px) rayMinWidth slider Minimum width of an occupation ray
Ray thickness min (px) lineThicknessMin slider Minimum ray height
Ray thickness max (px) lineThicknessMax slider Maximum ray height
Group gap (px) groupGap slider Vertical gap between job family blocks
Margin left (px) margin.left slider Left plot margin (space for family labels)
Margin bottom (px) margin.bottom slider Bottom plot margin (space for the axis)
Family label size (px) familyLabelSize slider Font size of job family labels
Group average circle radius groupCircleRadius slider Radius of the family-average circles
Show group averages showGroupAverages checkbox Toggle family-average circles
Show group separators showGroupSeparators checkbox Toggle separator lines between families
Show family labels showFamilyLabels checkbox Toggle job family labels
Axis label axisLabel text Text of the x-axis caption

Numeric controls (e.g. groupGap, rayMinWidth) and non-numeric controls (colors, checkboxes, text) all re-render the chart immediately. Nested properties such as margin.left are deep-merged so editing one does not affect siblings.

Comments

Sign in to join the discussion.