StealThis .dev
Pages Medium

Science — Open Data / Dataset Portal Landing

A government open-data portal homepage rendered as a single self-contained static page. It pairs a prominent search hero advertising 4,217 open datasets with clickable example-query chips, category tiles for Climate, Genomics, Economics, and Astronomy, and a filterable featured-datasets table showing format, size, license, and update columns with download buttons. A developer access panel offers tabbed, copyable cURL, Python, and JavaScript snippets, and animated usage counters round out the technical, no-nonsense layout.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

Open Data / Dataset Portal Landing

A utilitarian homepage for a fictional national open-data portal, built in the slate-and-green palette of a government technical site. The hero leads with a single job — search across 4,217 open datasets — backed by a focus-ring search field and mono-styled example-query chips that populate the input on click. Below it, four category tiles (Climate, Genomics, Economics, Astronomy) surface dataset counts and storage volume, and clicking one filters the featured table and scrolls to it.

The featured-datasets section is a dense, scroll-on-narrow table with format badges, byte sizes, SPDX-style license codes, ISO update dates, and per-row download buttons; a filter bar toggles between categories and updates a live result count. A developer access panel presents the REST endpoint with tabbed cURL, Python, and JavaScript snippets in a dark mono block, each with syntax-style coloring and a copy-to-clipboard button (with a graceful execCommand fallback).

Usage-stat counters animate from zero with an ease-out curve when scrolled into view via IntersectionObserver, a small toast() helper acknowledges every interaction, and the page is fully keyboard-operable with semantic landmarks, visible focus, and a responsive layout that collapses cleanly down to ~360px. All logic is dependency-free vanilla JS.

Illustrative UI only — fictional authors, data, and figures; not real scientific results.