Skip to main content
Visual Arts & DesignMotion Graphics35 lines

Render a Data Map Explainer with HyperFrames

Build a seekable HyperFrames map animation from geographic features and dated measurements. Validate the join, distinguish zero from missing observations, and verify the exported frames against the source values.

Quick Summary10 lines
Choose one question a viewer can answer from two still frames, such as which monitoring stations recorded a higher reading in the second survey. Write down the unit, reporting periods and intended frame size. Keep a copy of the approved measurements, geometry and attribution with the editable scene. Use synthetic points for a rehearsal.

## Key Points

- [HyperFrames HTML schema](https://hyperframes.heygen.com/reference/html-schema)
- [HyperFrames GSAP animation guide](https://hyperframes.heygen.com/guides/gsap-animation)
- [HyperFrames command-line reference](https://hyperframes.heygen.com/packages/cli)
- [IETF RFC 7946 on GeoJSON](https://datatracker.ietf.org/doc/html/rfc7946)
skilldb get motion-graphics-skills/hyperframes-data-map-explainerFull skill: 35 lines
Paste into your CLAUDE.md or agent config

Render a Data Map Explainer with HyperFrames

Choose one question a viewer can answer from two still frames, such as which monitoring stations recorded a higher reading in the second survey. Write down the unit, reporting periods and intended frame size. Keep a copy of the approved measurements, geometry and attribution with the editable scene. Use synthetic points for a rehearsal.

Join the observations to the map

Give each geographic feature a stable ID. Join observations on feature ID and period, preserving the original value and unit. Reject duplicate keys until the data owner defines an aggregation. Report rows without matching geometry and features without observations for a requested period. Keep an explicit zero as a measurement. Give a missing value a separate symbol and label it “No observation.” If periods use different units or denominators, reconcile them before putting them on one scale.

GeoJSON positions give longitude before latitude. Check coordinate ranges, then plot a known reference point to catch plausible swapped coordinates. Select a projection suited to the region and purpose. Project each feature once into a shared SVG viewBox and keep the framing fixed across comparisons. For a local schematic, identify it as such. For material crossing the antimeridian, split or wrap geometry consistently with the projection and inspect both edges. Keep sensitive sites aggregated to the approved reporting geography.

Choose a visual encoding the viewer can check. For example, make symbol area proportional to a nonnegative count by scaling the radius with its square root. Use the same maximum and legend in both periods. Draw a separate visible mark for zero and use a different shape plus text for missing observations. For signed values, choose an encoding that identifies the sign. Show the period, unit, attribution and a readable key throughout the comparison.

Make time seekable

Precompute the geographic paths, labels and per-period marks in a build step. Use local assets with documented reuse rights. Give the composition root a unique data-composition-id, a start of zero, its actual pixel dimensions and an explicit duration in seconds. Give each scene layer a unique element ID. Load the pinned GSAP runtime before creating the animation.

Build a paused timeline and register the completed timeline under the same composition ID on window.__timelines. For a two-period survey, start with the first period visible. At the comparison time, switch to the second period's label and marks together. A cut is appropriate for discrete surveys. Interpolating counts between survey dates would imply measurements that the data never supplied. Hold the final state long enough to read it. Set visual properties for the opening state explicitly so a backward seek can restore it. Keep motion tied to composition time. Avoid timers and callbacks that increment a value each time playback passes a cue.

Verify and deliver

Use the project's pinned HyperFrames CLI. From the project directory, run hyperframes lint, then hyperframes check. Inspect a frame immediately before and after the period change. Seek to the late frame, back to the opening, then to the same late frame again. Check the date, at least two feature labels, numeric values, zero and missing marks against the joined rows. The two late frames should agree. Confirm labels and attribution remain inside the frame at delivery size.

Render locally with hyperframes render --output map.mp4. Inspect the exported video at the same times and verify its dimensions, duration and final hold. Hand over the video, editable composition, permitted data and geometry, attribution, pinned dependency versions and the join report. If a data issue changes the map, correct the input, rebuild the scene and repeat the frame checks.

Primary references

Install this skill directly: skilldb add motion-graphics-skills

Get CLI access →

Related Skills

Kinetic Typography

Harness the art of animating text to express ideas, evoke emotion, and enhance narrative through dynamic motion. Activate this skill when the user needs to visualize spoken word, create impactful title sequences, convey a message with animated text, or bring static typography to life.

Motion Graphics•75L

Logo Animation

Craft dynamic, memorable logo reveals that encapsulate a brand's essence and leave a lasting impression. Activate this skill when the user needs to visualize a brand's introduction, create impactful end tags for videos, or reinforce a visual identity through motion.

Motion Graphics•70L

Loop Animation

Master the art of crafting seamless, endlessly repeating animations that captivate viewers and provide efficient, reusable motion assets. Activate this skill when you need to create engaging backgrounds, UI feedback, repeating visual motifs, or any motion graphic element designed for continuous, hypnotic playback without discernible start or end points.

Motion Graphics•73L

Synchronized Lyric Video Production

Build a lyric timing sheet and animate a readable lyric video with approved words and audio, then verify timing and screen-safe delivery.

Motion Graphics•30L

Morphing Techniques

Master the art of smoothly transitioning one visual element into another, creating fluid and dynamic transformations that captivate your audience. Activate this skill when you need to visually illustrate change, evolve shapes, animate identity shifts, or add a sophisticated, organic feel to your motion graphics.

Motion Graphics•70L

Motion Design Principles

Master the foundational rules and considerations for creating compelling and effective motion that communicates clearly. Activate this skill whenever you are structuring an animated sequence, ensuring your motion is purposeful, visually engaging, and resonates with the audience.

Motion Graphics•67L