IDEAS home Printed from https://ideas.repec.org/p/boc/usug26/27.html

sparkta - Interactive, self-contained HTML charts and dashboards from Stata

Author

Listed:
  • Fahad Mirza

    (World Bank)

Abstract

Sparkta (Spark Stata) is an open-source Stata package that produces self-contained, interactive HTML dashboards directly from a single Stata command. The package does not require any external installation of Python or R and makes use of the Java API. Sparkta outputs HTML files that run in any browser with no server, internet connection, and external dependencies, making them safe for institutional and air-gapped environments. The package supports 20 chart types, including bar, line, scatter, area, histogram, pie, boxplot, violin, and confidence interval charts. Charts are rendered using Chart.js and follow Stata syntax conventions throughout: options such as over(), by(), if, in, filter(), and value label awareness all behave as Stata users expect. Sparkta combines interactive visualization with live Stata-computed statistics. A collapsible panel beneath each chart reports N, mean, SD, median, and confidence intervals computed to match Stata's own summarize and ci means commands exactly. Additional features include an offline mode that bundles all JavaScript locally, a PNG download button, reference line and annotation overlays, animated transitions, named color palettes, including a colorblind-safe option, and over 130 styling and layout options.

Suggested Citation

Handle: RePEc:boc:usug26:27
as

Download full text from publisher

File URL: http://repec.org/usug2026/US26_Mirza.zip
Download Restriction: no
---><---

More about this item

Statistics

Access and download statistics

Corrections

All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:boc:usug26:27. See general information about how to correct material in RePEc.

If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

We have no bibliographic references for this item. You can help adding them by using this form .

If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F Baum (email available below). General contact details of provider: https://edirc.repec.org/data/stataea.html .

Please note that corrections may take a couple of weeks to filter through the various RePEc services.

IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.