Package: myIO 1.4.0

myIO: Interactive Data Visualizations Using 'd3.js'

Create interactive 'd3.js' visualizations from R with built-in statistical transforms. Computes confidence intervals, regression fits, LOESS smoothing, moving averages, error bars, and uncertainty visualizations (quantile dot plots and fan charts) in R and renders them as composable chart layers via 'htmlwidgets'. Supports 36 chart types including boxplots, violin plots, Q-Q diagnostic plots, calendar heatmaps, survival curves, and group comparisons with pairwise significance testing. Also provides a machine-readable chart specification schema with validators so that large language model agents can author and verify charts. Works in 'RStudio', 'Shiny', and 'R Markdown'.

Authors:Ryan Morton [aut, cre, cph], Mike Bostock [cph], James Hall [cph], yWorks GmbH [cph]

myIO_1.4.0.tar.gz
myIO_1.4.0.zip(r-4.7-any)myIO_1.4.0.zip(r-4.6-any)myIO_1.4.0.zip(r-4.5-any)
myIO_1.4.0.tgz(r-4.6-any)myIO_1.4.0.tgz(r-4.5-any)
myIO_1.4.0.tar.gz(r-4.7-any)myIO_1.4.0.tar.gz(r-4.6-any)
myIO_1.4.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
myIO/json (API)

# Install 'myIO' in R:
install.packages('myIO', repos = c('https://mortonanalytics.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/mortonanalytics/myio/issues

Pkgdown/docs site:https://mortonanalytics.github.io

On CRAN:

Conda:

d3d3v4htmlwidgets

7.00 score 7 stars 20 scripts 287 downloads 47 exports 26 dependencies

Last updated from:382c0bc137. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK225
source / vignettesOK222
linux-releaseOK165
macos-releaseOK131
macos-oldrelOK107
windows-develOK129
windows-releaseOK134
windows-oldrelOK133
wasm-releaseOK153

Exports:addIoLayeraddKeyframeclear_duckdb_wasm_cachedefineCategoricalAxisdragPointsduckdb_wasm_statusflipAxisinstall_duckdb_wasmlinkChartsmyIOmyio_chart_schemamyio_function_signaturemyIO_last_errormyio_list_chart_typesmyio_list_functionsmyio_validate_callmyio_validate_specmyIOOutputmyIOProxyrenderMyIOsetAnnotationsetAxisFormatsetAxisLimitssetBigDatasetBrushsetColorSchemesetExportOptionssetFacetsetKeyframesetLayerOpacitysetLegendTitlesetLinkedsetLinkedCursorsetMarginsetReferenceLinessetSlidersetThemesetTitlesetTogglesetToolTipOptionssetTransitionsetTransitionSpeedstepKeyframestop_duckdb_wasm_missingsuppressAxissuppressLegendupdateMyIOData

Dependencies:base64encbslibcachemclidigestevaluatefastmapfontawesomefshighrhtmltoolshtmlwidgetsjquerylibjsonliteknitrlifecyclememoisemimeR6rappdirsrlangrmarkdownsasstinytexxfunyaml

Chart Types
Overview | Layer Compatibility | Basic Charts | Line Chart | Point (Scatter) Chart | Bar Chart | Area Chart | Grouped Bar Chart | Histogram | Donut Chart | Gauge Chart | Hexbin Chart | Treemap | Phase 2 Charts | Heatmap | Calendar Heatmap | Candlestick (OHLC) | Waterfall | Sankey | Boxplot (Composite) | Violin (Composite) | Ridgeline (Composite) | Q-Q Plot (Composite) | Comparison (Composite) | Bracket (Standalone Layer) | Combining Chart Types

Last update: 2026-07-29
Started: 2026-03-14

Shiny Integration
Overview | Minimal App | Reactive Data | Brush Selection | Click-to-Annotate | Linked Brushing | Parameter Sliders | Multiple Charts | Theming in Shiny | Sizing | Shiny Input Reference | Tips | Deep Dive

Last update: 2026-07-29
Started: 2026-03-14

Sparklines in Tables
Overview | Supported types | What sparkline mode does

Last update: 2026-07-29
Started: 2026-03-28

LLM Tool Calling
The problem this solves | New to "tool calling"? | A first example | What you can rely on | Checking specs against real data | Checking function calls | The six tools | The repair loop | Wiring it into an assistant (MCP) | What validation guarantees — and what it does not

Last update: 2026-07-29
Started: 2026-05-22

Large-data linking with myIO
When to use this | Installation | Attaching big data | The engine argument | Crosstalk threshold | File-protocol limitation | Performance expectations | Limits and gotchas | Minimal complete example

Last update: 2026-04-24
Started: 2026-04-24

Migrating from plotly to myIO
Why switch from plotly? | Side-by-side: 8 common patterns | 1. Basic scatter plot | 2. Line chart with multiple series | 3. Bar chart | 4. Histogram | 5. Box plot | 6. Regression line with CI band | 7. Statistical annotations | 8. Dark mode theming | What myIO does that plotly can't | What plotly does that myIO doesn't

Last update: 2026-03-29
Started: 2026-03-29

Why myIO
The problem | What myIO does differently | 1. Confidence intervals as first-class layers | 2. One-line regression with R² annotation | 3. Composable transforms | 4. Composite charts expand into primitives | 5. Error bars with one line | Design philosophy | 6. Bidirectional I/O | When to use myIO | When to use something else

Last update: 2026-03-26
Started: 2026-03-22

Transforms & Theming
Transforms | Available Transforms | Linear Model Trend Line | Cumulative Transform (Waterfall) | Confidence Interval Band | LOESS Smoothing | Mean ± CI Error Bars | Regression Composite | Moving Average | Transform + Type Compatibility | Theming | Basic Theming | Theme Parameters | Custom Properties | Dark Mode Example

Last update: 2026-03-22
Started: 2026-03-14

Readme and manuals

Help Manual

Help pageTopics
Add a Layer to a myIO ChartaddIoLayer
Add a Named Data KeyframeaddKeyframe
Remove DuckDB-WASM cache entriesclear_duckdb_wasm_cache
Define Categorical AxisdefineCategoricalAxis
Enable Draggable PointsdragPoints
DuckDB-WASM cache statusduckdb_wasm_status
Flip Chart AxesflipAxis
Install the DuckDB-WASM binary for large-dataset virtualizationinstall_duckdb_wasm
Link Charts for Cross-SelectionlinkCharts
Create a myIO Chart WidgetmyIO
Get myIO Chart Schema for LLM Tool Callingmyio_chart_schema
Get a myIO Function Signature for LLM Tool Callingmyio_function_signature
Diagnose myIO Rendering ErrorsmyIO_last_error
List myIO Chart Types for LLM Tool Callingmyio_list_chart_types
List myIO Functions for LLM Tool Callingmyio_list_functions
Validate a myIO Function Callmyio_validate_call
Validate a myIO Chart Specificationmyio_validate_spec
Shiny Bindings for myIOmyIO-shiny myIOOutput renderMyIO
Update a myIO chart in place from the Shiny servermyIOProxy updateMyIOData
Enable Click-to-AnnotatesetAnnotation
Set Axis FormatsetAxisFormat
Set Axis LimitssetAxisLimits
Attach a big-data source to a myIO widgetsetBigData
Enable Brush SelectionsetBrush
Set Color SchemesetColorScheme
Configure Export OptionssetExportOptions
Set Faceting (Small Multiples)setFacet
Control Keyframes in ShinysetKeyframe stepKeyframe
Set Layer OpacitysetLayerOpacity
Set the Legend TitlesetLegendTitle
Enable Linked Brushing via CrosstalksetLinked
Toggle Linked Cursor Sync on a myIO WidgetsetLinkedCursor
Set Chart MarginssetMargin
Set Reference LinessetReferenceLines
Add a Parameter Slider (Shiny Only)setSlider
Set Chart ThemesetTheme
Set Chart TitlesetTitle
Set Toggle InteractionsetToggle
Set Tooltip OptionssetToolTipOptions
Configure Chart TransitionssetTransition
Set Transition SpeedsetTransitionSpeed
Suppress Axis DisplaysuppressAxis
Suppress Legend DisplaysuppressLegend