지도 구역의 색이 데이터 값에 따라 순서대로 채워지거나 시점별 색으로 바뀐다.Map regions transition to colors encoded from data values.
같은 범례로 시도별 실업률 색을 순차 공개한다.
지역별로 다른 색 범위를 써 비교를 왜곡한다.
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 지역 시작차 | 40ms | 0~80ms | 지역 순서 고정 |
| 색 전환 | 500ms | 300~900ms | 범례 범위 고정 |
| 범례 공개 | 800ms | 400~1000ms | 단위 함께 표시 |
const tl=gsap.timeline({paused:true});
regions.forEach((r,i)=>{
tl.fromTo(r.element,{fill:'#e5e7eb'},{fill:r.color,duration:0.5,ease:'power1.inOut'},i*0.04);
});
tl.fromTo('.legend',{opacity:0},{opacity:1,duration:0.8},0);그대로 붙여 넣는다Paste as is
<파일>의 <대상>에 코로플레스 색상 전환을 적용해. SVG 지역별 데이터 값을 색으로 매핑해 시간차 공개한다. 지역 시작차 40ms; 색 전환 500ms; 범례 공개 800ms을 적용한다. GSAP 코어의 paused 타임라인 하나로 seek 가능하게 만들고 임의 난수와 타이머를 쓰지 마.
Implement Choropleth Transition on <target> in <file>. Stagger regions by 40ms, transition their fills over 500ms, and reveal the legend over 800ms. Keep the color domain fixed and mark missing values separately. Use one paused GSAP core timeline, support seeking, and avoid random values and timers.
<파일>의 설명 장면에서 <대상>에 코로플레스 색상 전환을 적용해. SVG 지역별 데이터 값을 색으로 매핑해 시간차 공개한다. 지역 시작차 40ms; 색 전환 500ms; 범례 공개 800ms을 적용한다. 0초, 0.75초, 1.5초를 캡처해 시작 상태, 중간 진행, 최종 상태를 확인하고 같은 시각으로 다시 seek했을 때 좌표와 라벨이 같은지 검증해.
Implement Choropleth Transition on <target> in <file>. Stagger regions by 40ms, transition their fills over 500ms, and reveal the legend over 800ms. Keep the color domain fixed and mark missing values separately. Use one paused GSAP core timeline, support seeking, and avoid random values and timers. Capture at 0s, 0.75s, and 1.5s to check the initial state, intermediate motion, and final state. Seek to each time again and verify identical geometry and labels.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo