Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Slider JS

Public visualization

Viewing a saved revision (read-only)

c8c3d0694dcd49f69892a665ae3fdd0c

Slider JS

0 stars0🌍 Public
Eexchoco
Last edited Jan 7, 2023
Created on Jan 6, 2023
Forked from HTML Starter

This example demonstrates a dual-range slider interface for filtering numeric attributes. It displays two sets of sliders and corresponding numerical inputs for "HP" and "ATK" values, allowing users to set minimum and maximum thresholds. The sliders use HTML `input[type=range]` elements alongside `input[type=number]` fields, synchronized via event handlers. JavaScript functions like `controlFromSlider` and `fillSlider` manage the interaction, updating a gradient background to visually indicate the selected range. The code also tracks the current range values in a `num_range` object, providing a simple, interactive filtering mechanism for data exploration.

AI-generated description

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

See also React Starter.