AWESOME AI MOTION
효과Effects / 데이터Data / Nº 254

시간별 버블 차트Animated Bubble Time Series

Animated Bubble Time Series
시간별 버블 차트
다른 이름Also known as · Animated bubble time series · 시간별 거품 차트 · Rosling bubble chart · Gapminder chart
254
렌더 추가 예정CLIP COMING시간별 버블 차트Animated Bubble Time Series정의·파라미터·프롬프트는 아래에 있다Definition, parameters and prompts are below
도판Fig. 254. 시간별 버블 차트 · Animated Bubble Time Series · none

각 거품의 x와 y 위치 및 면적이 시간별 값에 맞춰 함께 바뀐다.Bubbles change position and area together as the displayed time advances.

01

무엇을 전하나What it tells

전달 효과ConveysCONVEYS
여러 지표의 발전 경로와 규모 변화를 동시에 본다.Connects trajectories across multiple indicators with changes in scale.
언제 쓰나Use whenUSE WHEN
  • 여러 지표의 발전 경로와 규모 변화를 동시에 본다. 이때 항목 ID와 척도를 유지한다.
  • 국가별 소득과 수명이 이동하고 인구를 원 면적으로 나타낸다.
  • Use when you need to explain animated bubble time series while preserving item identities and chart scales.
  • Use when the audience needs to follow the intermediate states rather than only compare final snapshots.
과용 주의AvoidAVOID
  • 반지름을 인구에 비례시켜 면적 차이를 과장한다.
  • 재생 중 임의 난수와 벽시계로 데이터나 좌표를 바꾸지 않는다.
02

좋은 예와 나쁜 예Good and bad use

좋은 사례GOOD

국가별 소득과 수명이 이동하고 인구를 원 면적으로 나타낸다.

과용 · 나쁜 사례OVERUSE

반지름을 인구에 비례시켜 면적 차이를 과장한다.

03

파라미터Parameters

기본값은 클립에 쓴 값Defaults are the values used in the clip

항목PARAM기본DEFAULT범위RANGE메모NOTE
지속 시간0.5s0.375~0.75s시점 또는 전환 한 회 기준
면적 배율1px²/단위0.2~4px²/단위반지름은 면적의 제곱근
연도 표시1개1개모든 거품에 같은 연도
이징nonenonenone은 선형 진행
GSAP
const tl = gsap.timeline({paused:true});
const s = {p:0};
tl.to(s,{p:1,duration:0.5,ease:'none',onUpdate:()=>{
  bubbles.forEach((el,i)=>{const a=before[i],b=after[i]; el.setAttribute('cx',lerp(a.x,b.x,s.p)); el.setAttribute('cy',lerp(a.y,b.y,s.p)); el.setAttribute('r',Math.sqrt(lerp(a.area,b.area,s.p)/Math.PI));});
}});
04

에이전트 프롬프트Agent prompts

그대로 붙여 넣는다Paste as is

Claude Code

<대상>에 시간별 버블 차트을 적용해줘. 국가 ID별 x, y, 면적을 보간하고 반지름은 면적의 제곱근으로 계산한다. 입력 좌표와 ID 대응을 먼저 준비하고 snippet의 렌더 함수는 이 규칙으로 구현한다. 지속 시간 0.5s; 면적 배율 1px²/단위; 연도 표시 1개; 이징 none로 구현하고 GSAP 코어 paused 타임라인 하나로 seek를 지원해. 국가별 소득과 수명이 이동하고 인구를 원 면적으로 나타낸다.

Apply Animated Bubble Time Series to <target>. Use a 0.5s transition with none easing and preserve item IDs, colors, and chart scales. Implement the geometry renderer used in the snippet with explicit before and after data; use a single paused GSAP core timeline and derive every frame from its playhead. Bubbles change position and area together as the displayed time advances.

Codex

<파일>의 데이터 차트 갱신 구간에 시간별 버블 차트을 적용해. 국가 ID별 x, y, 면적을 보간하고 반지름은 면적의 제곱근으로 계산한다. 입력 좌표와 ID 대응을 먼저 준비하고 snippet의 렌더 함수는 이 규칙으로 구현한다. 지속 시간 0.5s; 면적 배율 1px²/단위; 연도 표시 1개; 이징 none를 사용해. 0.125초, 0.25초, 0.5초 시점을 캡처해 각 거품의 x와 y 위치 및 면적이 시간별 값에 맞춰 함께 바뀐다. 항목 대응과 최종 수치를 확인하고 역방향 seek에서도 같은 화면인지 검증해.

Apply Animated Bubble Time Series in the chart update section of <file>. Use the card parameter defaults, a 0.5s transition, and none easing; implement the snippet geometry helpers from fixed input data. Capture at 0.125s, 0.25s, and 0.5s to verify item correspondence, the intermediate geometry, and final values. Seek backward and forward to confirm identical output at identical times.

05

도구별로 쓰기In your tools

HyperFrames · ReelForge · Scrolline

HyperFramesVIDEO · GSAP
paused 타임라인에 0.5초 전환을 넣고 seek마다 입력 상태에서 좌표와 경로를 다시 계산한다. 국가 ID별 x, y, 면적을 보간하고 반지름은 면적의 제곱근으로 계산한다. 입력 좌표와 ID 대응을 먼저 준비하고 snippet의 렌더 함수는 이 규칙으로 구현한다.
ReelForgeBRIEF TO VIDEO
씬 워커 브리프에 지속 시간 0.5s; 면적 배율 1px²/단위; 연도 표시 1개; 이징 none와 항목 ID, 축 범위, 전후 데이터를 싣는다. 국가별 소득과 수명이 이동하고 인구를 원 면적으로 나타낸다.
Scrolline DeckSCROLL SCRUB
진행률 0~1을 0.5초 타임라인에 매핑한다. scrub은 누적 상태 없이 같은 진행률에 같은 좌표를 내며 스프링 대신 power2.out 또는 선형 보간을 쓴다.
06

잘 맞는 조합Pairs well with

07

출처Sources

개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo