Skip to main content
100%

Fork of HTML Starter

✓ Published0🌍 Public
Xxyzcorrupt@gmail.com
Last edited Jun 29, 2024
Created on Jun 29, 2024
Forked from HTML Starter

This example shows a horizontal color legend with nine rectangular swatches, each labeled with a tick mark, rendered as static SVG elements. The visualization demonstrates a React-based starter template that uses raw SVG markup within JSX to display a sequential color scale. The file includes a complete HTML page with CSS and JavaScript, where the SVG is defined directly in the index file. The code uses no external libraries, relying solely on React's rendering of SVG elements like `<rect>` and `<line>` to create the legend, though the underlying data structure is not shown beyond the hardcoded color positions.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes