Dataset BuilderStatLens

1 Data Input

2 Metadata

snake_case, used as filename

Present facts only. Do not draw conclusions for the student.

Variable Descriptions

Describe what each variable represents and how it was measured.

Variable Labels

Human-readable labels for each variable (defaults to column name).

3 Export

How to use your dataset

1. Host on GitHub Gist

  1. Go to gist.github.com and create a new gist.
  2. Paste the JSON into the file content. Name the file {id}.json.
  3. Click "Create public gist", then click "Raw" to get the direct URL.

2. Use in StatLens

Use ?json= on any StatLens page — explore tools, simulation pages, inference tests, and more:

  • explore/descriptive/?json=YOUR_RAW_URL
  • simulate/bootstrap-mean/?json=YOUR_RAW_URL
  • inference/two-means/?json=YOUR_RAW_URL

You can also link directly to a CSV or TSV (tab-separated values) file using ?csv= instead — no JSON conversion needed:

  • explore/descriptive/?csv=YOUR_RAW_CSV_URL

3. Submit for inclusion

To add your dataset to StatLens's built-in collection, open an issue at github.com/jbaggett/statlens/issues and attach the JSON file.

Help

Build a StatLens-compatible dataset JSON file from CSV data. Paste or upload your data, fill in metadata, then export.

Step 1
Paste or upload CSV/TSV data. The parser auto-detects delimiters and infers column types.
Step 2
Fill in metadata: name, description, source, and variable descriptions.
Step 3
Preview the generated JSON. Copy to clipboard or download as a file.
?
Show this help
Esc
Close this dialog