Skip to main content
100%

Using Images in VizHub (broken)

✓ Published0🌍 Public
CCurran Kelleher
Last edited Mar 3, 2020
Created on Feb 29, 2020

This example attempts to display an SVG animation by loading it into an HTML page via an `<img>` tag, but the animation fails to run in VizHub. The SVG uses SMIL animation, specifically `animateMotion` with an `<mpath>` element, to move satellites along an orbit path around a planet. The visualization also incorporates SVG filters like `feGaussianBlur` and `feTurbulence` for atmosphere and cloud effects. The code imports `select` from d3 and defines data and color modules, though the main focus is the broken image rendering, as noted in the README.

AI-generated description

A reproduction case for the idea of including images.

A SMIL animation - the 3rd type of SVG animation possibility compared to JS or CSS animation.

Doesn't seem to work here, although it does in a separate file:

  • Try loading the SMIL_Satellite.svg file separately in a browser - that works.
MIT Licensed

Similar vizzes