# koaning/drawdata

Draw datasets from within Python notebooks.

Repository: https://github.com/koaning/drawdata
Canonical: https://ross.abutalabs.com/products/drawdata
Homepage: https://koaning.github.io/drawdata/
Language: JavaScript
License: MIT
License Family: permissive
Topics: drawdata, data, marimo, anywidget
Last push: 2026-07-21T13:23:52+00:00

## Health v2 (maintenance only)
Score: 73/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 93, release rhythm 33, longevity 100
- inputs: {"age_days": 1977, "days_push": 43, "days_rel": 238, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1671, forks 150 (observed 2026-08-28T04:05:20.142442+00:00)

## What it is
A Python library providing notebook widgets for drawing datasets interactively, built on anywidget. Drawn data can be exported as lists, pandas/polars dataframes, or scikit-learn X/y arrays.

## Use cases
- draw datasets interactively in a jupyter notebook
- create toy datasets for teaching machine learning algorithms
- generate classification data by drawing colored clusters
- draw regression data and get X y arrays for scikit-learn
- use an interactive drawing widget in marimo or colab

## When to choose
- teaching or demonstrating ML algorithms with hand-drawn toy datasets
- quickly prototyping classifiers or regressions in notebooks
- you need widgets that work across Jupyter, VSCode, Colab, and marimo

## When to avoid
- you need large or realistic synthetic datasets
- you are not working in a notebook environment
- you need programmatic dataset generation with precise control

## Facets
- artifact type: library
- maturity: active
- function: data-visualization, data-generation, ui-components, developer-tools
- domain: data-science, machine-learning, education, developer-tools
- platform: python, jvm-scripting, browser
- tags: jupyter, notebook-widgets, anywidget, marimo, ipywidgets, teaching-tools, scatter-plot

## Member repositories
- koaning/drawdata (main) score 73

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:20.142442+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:42:41.769618+00:00, confidence not recorded.
  - readme: https://github.com/koaning/drawdata (fetched 2026-08-28T04:05:20.142442+00:00, sha d02e6cf95b5a)
  - homepage: https://koaning.github.io/drawdata/ (fetched 2026-08-29T11:16:07.125173+00:00, sha 87c0fb188c46)
- Data as of 2026-08-30T08:39:29.467469+00:00.
