| ---
|
| annotations_creators:
|
| - machine-generated
|
| language_creators:
|
| - machine-generated
|
| language:
|
| - en
|
| license:
|
| - mit
|
| multilinguality:
|
| - monolingual
|
| size_categories:
|
| - n<1000
|
| task_categories:
|
| - text-generation
|
| configs:
|
| - config_name: default
|
| data_files:
|
| - split: train
|
| path: data/train-*.parquet
|
| features:
|
| - name: filename
|
| dtype: string
|
| - name: title
|
| dtype: string
|
| - name: code
|
| dtype: string
|
| - name: theme
|
| dtype: string
|
| - name: chart_types
|
| dtype: string
|
| - name: metric_count
|
| dtype: int32
|
| - name: has_table
|
| dtype: bool
|
| - name: data_source
|
| dtype: string
|
| - name: file_size
|
| dtype: int32
|
| - name: token_count
|
| dtype: int32
|
| ---
|
| # DataViz HTML Dashboard Dataset
|
|
|
| 100 HTML dashboard files built with the **dash-viz-kit** library — 10 themes, 12 chart types (ApexCharts + ECharts), zero config, declarative HTML.
|
|
|
| ## Structure
|
| - `data/train-00000-of-00001.parquet` — Main dataset in Parquet format
|
| - `data/*.csv` — CSV data files used by 15 dashboards
|
| - `README.md` — Dataset card
|
|
|
| ## Columns
|
| | Column | Type | Description |
|
| |--------|------|-------------|
|
| | filename | string | File name of the dashboard |
|
| | title | string | Human-readable title |
|
| | code | string | Full HTML source code |
|
| | theme | string | Theme name (editorial, midnight-galaxy, etc.) |
|
| | chart_types | string | Semi-colon separated chart types |
|
| | metric_count | int32 | Number of KPI stat cards |
|
| | has_table | bool | Whether a data table is included |
|
| | data_source | string | "inline" or "csv" |
|
| | file_size | int32 | File size in bytes |
|
| | token_count | int32 | Approximate token count |
|
|
|
| ## Usage
|
| ```python
|
| from datasets import load_dataset
|
|
|
| dataset = load_dataset("sanjaymalladi/dataviz-html-dataset", split="train")
|
| print(dataset[0]["filename"])
|
| print(dataset[0]["code"][:200])
|
| ```
|
|
|
| ## Domains
|
| - Ab Testing\n- Affiliate Dashboard\n- Ai Metrics\n- Airline Traffic\n- Airport Operations\n- Api Performance\n- Astronomy Dashboard\n- Auction Dashboard\n- Bike Sharing Analytics\n- Box Office\n... and 90 more
|
|
|
| ## Themes
|
| - **brutalism** — Bold, high-contrast monospace
|
| - **editorial** — Warm serif magazine style
|
| - **midnight-galaxy** — Dark purple cosmic
|
| - **tech-innovation** — Sleek dark blue
|
| - **ocean-depths** — Cool aqua palette
|
| - **sunset-boulevard** — Warm orange/terracotta
|
| - **forest-canopy** — Earthy greens
|
| - **desert-rose** — Soft rose sand
|
| - **arctic-frost** — Cool icy tones
|
| - **golden-hour** — Warm amber tones
|
|
|
| ## Chart Types
|
| Bar, Line, Area, Donut, Scatter, Heatmap, Radar, Gauge, Candlestick, Funnel, Treemap
|
|
|
| ## License
|
| MIT
|
|
|