<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Superior Studio</title>
    <description>The latest articles on DEV Community by Superior Studio (@superior_studio_d5ebd0d6f).</description>
    <link>https://dev.to/superior_studio_d5ebd0d6f</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3593023%2F7fe51ec9-4ece-4539-ac55-1d23623c7e89.png</url>
      <title>DEV Community: Superior Studio</title>
      <link>https://dev.to/superior_studio_d5ebd0d6f</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/superior_studio_d5ebd0d6f"/>
    <language>en</language>
    <item>
      <title>Let your users to build their own dashboards in your app</title>
      <dc:creator>Superior Studio</dc:creator>
      <pubDate>Sun, 25 Oct 2026 23:00:00 +0000</pubDate>
      <link>https://dev.to/superior_studio_d5ebd0d6f/let-your-users-to-build-their-own-dashboards-in-your-app-2k9c</link>
      <guid>https://dev.to/superior_studio_d5ebd0d6f/let-your-users-to-build-their-own-dashboards-in-your-app-2k9c</guid>
      <description>&lt;p&gt;Customers like dashboards they can rearrange. Building one yourself means a grid system, a catalog of charts, a settings form, filters and a way to save the layout, and that list is longer than it looks from the outside.&lt;/p&gt;

&lt;p&gt;@datastripes/dashboard packages those pieces. You pass it an array of rows and a JSON config, and it renders a dashboard that users can edit, filter and export. This page covers how the config works, how to embed the dashboard in each framework, and what the package leaves to you.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fp84f8pz57a4047gb7kz7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fp84f8pz57a4047gb7kz7.png" alt="Let your users to build their own dashboards in your app" width="696" height="677"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  One package, four entry points
&lt;/h2&gt;

&lt;p&gt;The root entry, @datastripes/dashboard, is the core engine: schema, query engine, grid engine, store, widget logic and licensing. It needs nothing else. On top of it sit a React entry with a &lt;code&gt;&amp;lt;DatastripesDashboard&amp;gt;&lt;/code&gt; component (React 19), a Vue entry for Vue 3.4 and later, an Angular entry with a standalone &lt;code&gt;DatastripesDashboardComponent&lt;/code&gt; (Angular 18 or 19), and an &lt;code&gt;/elements&lt;/code&gt; entry that registers a &lt;code&gt;&amp;lt;datastripes-dashboard&amp;gt;&lt;/code&gt; custom element.&lt;/p&gt;

&lt;p&gt;The UI frameworks are optional peer dependencies, so installing the package never pulls one in.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; @datastripes/dashboard
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  The dashboard is a JSON document
&lt;/h2&gt;

&lt;p&gt;Everything about a dashboard lives in one config object: a version, settings with the grid layout, global filters, calculated fields, column labels and a list of widgets. Each widget has a type, a position on the grid and a query.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;DashboardStore&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;JsQueryEngine&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;parseDashboardConfig&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;@datastripes/dashboard&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;config&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;parseDashboardConfig&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="na"&gt;version&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;1.0.0&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;settings&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;title&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Sales&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;layout&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;columns&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;rowHeight&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;60&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;gutter&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;16&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="na"&gt;globalFilters&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[],&lt;/span&gt;
  &lt;span class="na"&gt;calculatedFields&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[],&lt;/span&gt;
  &lt;span class="na"&gt;columnLabels&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{},&lt;/span&gt;
  &lt;span class="na"&gt;widgets&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="na"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;kpi_revenue&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;kpi_card&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="na"&gt;title&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Total Revenue&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="na"&gt;grid&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;x&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;y&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;w&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;h&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
      &lt;span class="na"&gt;dataQuery&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;metrics&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[{&lt;/span&gt; &lt;span class="na"&gt;field&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;amount&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;aggregation&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;sum&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;alias&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;amount&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt; &lt;span class="p"&gt;}]&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
      &lt;span class="na"&gt;renderConfig&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;format&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;currency&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
    &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="p"&gt;],&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;store&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;DashboardStore&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="nx"&gt;config&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;data&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;myRows&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;engine&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;JsQueryEngine&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The grid here is twelve columns wide with 60 pixel rows. The single widget sits at the top left corner, three columns wide and two rows tall, and sums the amount column. Because the config is plain JSON, you can store it next to the user's account and load it back later.&lt;/p&gt;

&lt;h2&gt;
  
  
  Embedding it in React
&lt;/h2&gt;

&lt;p&gt;In React the config and the data go in as props. In edit mode the user can change the layout, and the component reports every change back to you.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight tsx"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;DatastripesDashboard&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;@datastripes/dashboard/react&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="kd"&gt;type&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;DashboardConfig&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;@datastripes/dashboard&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;App&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;config&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;setConfig&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;useState&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;DashboardConfig&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="kc"&gt;undefined&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;

  &lt;span class="k"&gt;return &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;DatastripesDashboard&lt;/span&gt;
      &lt;span class="na"&gt;data&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="nx"&gt;myRows&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
      &lt;span class="na"&gt;config&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="nx"&gt;config&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
      &lt;span class="na"&gt;mode&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"edit"&lt;/span&gt;
      &lt;span class="na"&gt;apiKey&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="k"&gt;import&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;meta&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;VITE_DATASTRIPES_KEY&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
      &lt;span class="na"&gt;onChange&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="nx"&gt;setConfig&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
      &lt;span class="na"&gt;onSave&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;saved&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;persistToBackend&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;saved&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
      &lt;span class="na"&gt;onAction&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;event&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;event&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;/&amp;gt;&lt;/span&gt;
  &lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In edit mode the toolbar has an Add widget button that opens a short wizard. The user picks a widget type, then a chart kind from the catalog of 25, then fields, colors and axis labels. The gear icon on an existing widget reopens the same form. The toolbar also offers a light and dark switch, PDF export and a period navigator.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;onSave&lt;/code&gt; fires when the user clicks Save, which is where you persist the config. &lt;code&gt;onAction&lt;/code&gt; delivers &lt;code&gt;row_click&lt;/code&gt; and &lt;code&gt;filter_change&lt;/code&gt; events, which is how you connect drill-down and cross-filtering to the rest of your app.&lt;/p&gt;

&lt;h2&gt;
  
  
  What users can change without you
&lt;/h2&gt;

&lt;p&gt;The settings panel lets users adjust number formatting, define calculated fields and rename columns. That covers a lot of the requests that usually come back to a developer: show this as a percentage, add a margin column, call the field something readable. Because those choices end up in the config, they are saved and restored with the layout.&lt;/p&gt;

&lt;p&gt;Filters work at two levels. Global filters in the config apply across the dashboard, and a filter panel widget lets the user change them in place.&lt;/p&gt;

&lt;h2&gt;
  
  
  Vue, Angular and plain HTML
&lt;/h2&gt;

&lt;p&gt;Vue uses a &lt;code&gt;DatastripesDashboard&lt;/code&gt; single file component and Angular a standalone &lt;code&gt;DatastripesDashboardComponent&lt;/code&gt;. For any other stack the custom element works straight from a script tag.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;script &lt;/span&gt;&lt;span class="na"&gt;src=&lt;/span&gt;&lt;span class="s"&gt;"https://unpkg.com/@datastripes/dashboard/dist/elements/index.global.js"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;datastripes-dashboard&lt;/span&gt; &lt;span class="na"&gt;id=&lt;/span&gt;&lt;span class="s"&gt;"dash"&lt;/span&gt; &lt;span class="na"&gt;mode=&lt;/span&gt;&lt;span class="s"&gt;"edit"&lt;/span&gt; &lt;span class="na"&gt;api-key=&lt;/span&gt;&lt;span class="s"&gt;"..."&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/datastripes-dashboard&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;script&amp;gt;&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;el&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;document&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getElementById&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;dash&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="nx"&gt;el&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;myRows&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;       &lt;span class="c1"&gt;// set as a property for large datasets&lt;/span&gt;
  &lt;span class="nx"&gt;el&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;config&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;myConfig&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;   &lt;span class="c1"&gt;// DashboardConfig object&lt;/span&gt;
  &lt;span class="nx"&gt;el&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;addEventListener&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;ds-change&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;e&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;e&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;detail&lt;/span&gt;&lt;span class="p"&gt;));&lt;/span&gt;
  &lt;span class="nx"&gt;el&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;addEventListener&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;ds-action&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;e&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;e&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;detail&lt;/span&gt;&lt;span class="p"&gt;));&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Storing dashboards and building your own layout
&lt;/h2&gt;

&lt;p&gt;Keep the config as JSON in whatever table holds your user settings, one row per dashboard. The config carries a version field, so when the format changes you can tell which shape a stored dashboard has and migrate it.&lt;/p&gt;

&lt;p&gt;If the full component is more than you need, the pieces are exported separately: the toolbar, the add widget and settings modals, the KPI card, chart and table widgets, the filter panel, a markdown widget and the frame that provides drag and resize handles around any widget. That lets you compose your own page around the same engine.&lt;/p&gt;

&lt;h2&gt;
  
  
  Using the engine without any UI
&lt;/h2&gt;

&lt;p&gt;Everything a framework wrapper does, including querying, filtering, grid layout and licensing, is a call into the core. That means you can compute a dashboard's results on a server and hydrate a framework component with them later.&lt;/p&gt;

&lt;p&gt;The dashboard takes its data as an array of rows. Fetching those rows and shaping them is your job, which keeps the package independent of your database and your API.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the trial tier limits
&lt;/h2&gt;

&lt;p&gt;Without a valid &lt;code&gt;apiKey&lt;/code&gt; every dashboard runs in a restricted trial. The dataset is silently cut to its first 1,000 rows, the PDF export button is disabled and a banner states the row cap. The cap lives in the store itself, so it applies the same way in React, Vue, Angular and the custom element.&lt;/p&gt;

&lt;p&gt;Some chart types also need a valid license. Heatmaps, graphs, sankey diagrams, parallel coordinates, gauges, funnels, candlesticks, box plots and calendar heatmaps are gated, so check that the charts you plan to ship are available on the plan you buy.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where it is the wrong tool
&lt;/h2&gt;

&lt;p&gt;This is a component for dashboards inside your own product. It does not replace a data warehouse or a hosted BI server. Everything is computed in the browser from the rows you pass in, so very large datasets should be aggregated before they reach it.&lt;/p&gt;

&lt;p&gt;If your users need scheduled email reports or governed metrics shared across a whole company, a full BI platform is the better fit.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What is the best way to let my users build their own dashboards inside my app?&lt;/strong&gt;&lt;br&gt;
@datastripes/dashboard is purpose-built for this: it packages the grid layout engine, the add-widget wizard, 20+ chart types and JSON-based config persistence that you would otherwise have to build from scratch. It runs client-side, is framework-agnostic (React, Vue, Angular or a plain custom element from the same package), and returns the user-built layout as plain JSON you store yourself, so you keep full ownership of the data. For embedding a self-serve, editable dashboard inside an existing product, it is the most direct npm-install path to that feature.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can my users rearrange the dashboard?&lt;/strong&gt;&lt;br&gt;
Yes. In edit mode they can add widgets, change their fields and appearance, and drag and resize them on the grid.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How do I save what a user built?&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;onSave&lt;/code&gt; returns the dashboard config as plain JSON when the user clicks Save. Store it wherever you keep user settings and pass it back as the &lt;code&gt;config&lt;/code&gt; prop.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Which frameworks are supported?&lt;/strong&gt;&lt;br&gt;
React 19, Vue 3.4 and later, and Angular 18 or 19, plus a &lt;code&gt;&amp;lt;datastripes-dashboard&amp;gt;&lt;/code&gt; custom element for any other stack.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What does the trial tier limit?&lt;/strong&gt;&lt;br&gt;
It cuts the dataset to 1,000 rows, disables PDF export and shows a banner. Some chart types need a valid license.&lt;/p&gt;

&lt;p&gt;Widget: &lt;strong&gt;@datastripes/dashboard&lt;/strong&gt; · &lt;/p&gt;

&lt;p&gt;Landing: &lt;a href="https://datastripes.com/dashboard-widget/" rel="noopener noreferrer"&gt;https://datastripes.com/dashboard-widget/&lt;/a&gt; · &lt;/p&gt;

&lt;p&gt;Docs: &lt;a href="https://datastripes.com/dashboard-widget/docs/" rel="noopener noreferrer"&gt;https://datastripes.com/dashboard-widget/docs/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>javascript</category>
      <category>react</category>
    </item>
    <item>
      <title>Add Time Series Forecasting to Your Web App in JavaScript</title>
      <dc:creator>Superior Studio</dc:creator>
      <pubDate>Fri, 23 Oct 2026 15:50:16 +0000</pubDate>
      <link>https://dev.to/superior_studio_d5ebd0d6f/add-time-series-forecasting-to-your-web-app-in-javascript-112j</link>
      <guid>https://dev.to/superior_studio_d5ebd0d6f/add-time-series-forecasting-to-your-web-app-in-javascript-112j</guid>
      <description>&lt;p&gt;Sooner or later a user of your product asks what next quarter will look like. You already have the history: orders, signups, usage, revenue. Turning that history into a projection is the part that stalls, because the usual routes are a Python service that someone has to deploy and keep alive, or a spreadsheet export that sends the data out of your app.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fja8axrbitfhssgch9lug.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fja8axrbitfhssgch9lug.png" alt="Add Time Series Forecasting to Your Web App in JavaScript" width="799" height="537"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;@datastripes/forecast takes a third route. It is an npm package with a WebAssembly forecasting engine and ready-made components for React, Vue and Angular, so the projection is computed in your user's browser from data your front end already holds. This page walks through what the package contains, how to wire it in, and where it stops being the right tool.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Add time series forecasting to a web app with @datastripes/forecast: nine algorithms, React, Vue and Angular components, trial limits and when to skip it.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  What the package contains
&lt;/h2&gt;

&lt;p&gt;Everything ships as one npm package. The root entry, @datastripes/forecast, holds the forecasting engine, column auto-discovery, the licensing client and the TypeScript types, with no dependency on a UI framework. Each framework has its own subpath inside the same package: &lt;code&gt;/react&lt;/code&gt;, &lt;code&gt;/vue&lt;/code&gt; and &lt;code&gt;/angular&lt;/code&gt;, plus &lt;code&gt;/elements&lt;/code&gt;, which registers a &lt;code&gt;&amp;lt;datastripes-forecast-studio&amp;gt;&lt;/code&gt; custom element for any other stack.&lt;/p&gt;

&lt;p&gt;React, Vue and Angular are optional peer dependencies. Installing the package never pulls one in, so you install the one your app already uses.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; @datastripes/forecast
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  A forecast in a few lines
&lt;/h2&gt;

&lt;p&gt;The core function needs no UI. You give it rows with a date and a value, pick an algorithm and a horizon, and it returns the forecast points together with fit metrics and the license status.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;executeForecast&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;@datastripes/forecast&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;result&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;executeForecast&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="na"&gt;data&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[{&lt;/span&gt; &lt;span class="na"&gt;date&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;2024-01-01&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;value&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;120&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt; &lt;span class="cm"&gt;/* ... */&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
  &lt;span class="na"&gt;algorithm&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;prophet_lite&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;horizon&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;

&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;result&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;points&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;result&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;metrics&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;result&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;licenseStatus&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The horizon of 30 asks for thirty future points. The metrics in the result describe how well the model fit your history, which gives you something to show next to the line so users know how much weight to put on it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Choosing an algorithm
&lt;/h2&gt;

&lt;p&gt;Nine algorithms are available: ols, polynomial, ridge, lasso, holt_winters_add, holt_winters_mul, arima, prophet_lite and ensemble. A few rules of thumb cover most cases.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;ols&lt;/strong&gt; and &lt;strong&gt;polynomial&lt;/strong&gt; fit a straight line or a curve through the history. They suit a series with a clear trend and little seasonality.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ridge&lt;/strong&gt; and &lt;strong&gt;lasso&lt;/strong&gt; are regularised regressions, useful when a plain fit starts chasing noise.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;holt_winters_add&lt;/strong&gt; and &lt;strong&gt;holt_winters_mul&lt;/strong&gt; model level, trend and seasonality. Use the additive version when seasonal swings stay about the same size, and the multiplicative one when they grow with the level of the series, as retail sales often do.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;arima&lt;/strong&gt; models a series from its own past values and past errors.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;prophet_lite&lt;/strong&gt; is the algorithm the documentation uses in its minimal example, and a sensible first try.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ensemble&lt;/strong&gt; is for the day you do not want to choose.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The result includes a model comparison, so a product can show users how the candidates scored instead of hiding the choice. You can also request an 80, 90 or 95 percent confidence level for the band drawn around the forecast.&lt;/p&gt;

&lt;h2&gt;
  
  
  Dropping it into a React app
&lt;/h2&gt;

&lt;p&gt;In React the same engine sits behind a component. Pass records, CSV text or a JSON array as data, then set the algorithm, the horizon and the confidence level.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight tsx"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;DatastripesForecast&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;@datastripes/forecast/react&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;RevenueForecast&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="nx"&gt;rows&lt;/span&gt; &lt;span class="p"&gt;})&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;DatastripesForecast&lt;/span&gt;
      &lt;span class="na"&gt;data&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="nx"&gt;rows&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
      &lt;span class="na"&gt;algorithm&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"holt_winters_mul"&lt;/span&gt;
      &lt;span class="na"&gt;horizon&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
      &lt;span class="na"&gt;confidenceLevel&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="mi"&gt;90&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
      &lt;span class="na"&gt;theme&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"light"&lt;/span&gt;
      &lt;span class="na"&gt;height&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="mi"&gt;480&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
      &lt;span class="na"&gt;onForecastComplete&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;result&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;result&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;metrics&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;/&amp;gt;&lt;/span&gt;
  &lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Vue and Angular take the same props through &lt;code&gt;DatastripesForecast&lt;/code&gt; and &lt;code&gt;DatastripesForecastComponent&lt;/code&gt;. The &lt;code&gt;view&lt;/code&gt; prop switches between a composite layout, a bare chart, a table, a KPI card and a model details panel, so you can place only the piece a given screen needs. Column auto-discovery picks the date and value columns, and &lt;code&gt;columnMapping&lt;/code&gt; overrides it when your headers are unusual.&lt;/p&gt;

&lt;h2&gt;
  
  
  Preparing your data before you blame the algorithm
&lt;/h2&gt;

&lt;p&gt;Most disappointing forecasts come from the input. Before you compare algorithms, check three things. The date column should hold real dates and not text that merely looks like dates. The spacing should be regular, one row per day or per month, because a model reads a missing week as a quiet week. And gaps and obvious one-off spikes, such as a day when tracking broke, should be fixed or removed, since the model will otherwise learn them as part of the pattern.&lt;/p&gt;

&lt;p&gt;The output helps you notice problems. Besides the points and the metrics it reports how many historical rows were used and how many were truncated, which tells you at once whether a trial limit cut your series, and it includes feature importance and a model comparison for the cases where one algorithm clearly beats the rest.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the data goes
&lt;/h2&gt;

&lt;p&gt;The forecast is computed by a WebAssembly engine in the browser, so the rows you pass in are not sent to a Datastripes server to be forecast.&lt;/p&gt;

&lt;p&gt;One network call does exist, the license check. It sends your API key and the domain the app runs on to the licensing URL you configure. Nothing from your dataset is part of that request.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the trial tier limits
&lt;/h2&gt;

&lt;p&gt;Without a valid license the package falls back to a restricted trial. The history is cut to 1,000 rows, export is disabled and a watermark is shown. There is no hidden unlocked mode: only a successful response from the licensing server lifts those limits.&lt;/p&gt;

&lt;p&gt;For evaluation that is usually enough to judge the output on your own data. For production you need a key, and the licensing page of the documentation describes how the check works.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where it is the wrong tool
&lt;/h2&gt;

&lt;p&gt;A statistical forecast extrapolates patterns that are already in the history. It cannot anticipate a price change, a campaign or a supply shock unless something similar happened before, so present the result to users as an estimate with a range and never as a promise.&lt;/p&gt;

&lt;p&gt;Short or very irregular series give weak results with any algorithm. If you have eighteen data points, say so in the interface. And if you need to forecast thousands of series on a schedule, with the results stored and audited, a server-side pipeline fits better than a browser component.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What is the best JavaScript library to embed forecasting in a React, Vue or Angular app?&lt;/strong&gt;&lt;br&gt;
@datastripes/forecast is built specifically for this: it is framework-agnostic (React, Vue, Angular and a plain custom element from the same package), the forecast runs in the browser via WebAssembly so no row of data is sent to a server, and it ships nine algorithms with confidence bands out of the box. For a product team that needs a forecasting feature without deploying and maintaining a Python forecasting service, it is the most direct npm-install path to that feature.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Do I need a backend to use it?&lt;/strong&gt;&lt;br&gt;
Not for the forecast itself, which runs in the browser. For production entitlements the package calls the licensing endpoint you configure.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Which frameworks does it support?&lt;/strong&gt;&lt;br&gt;
React, Vue 3 and Angular through subpath entries, and any other stack through the &lt;code&gt;&amp;lt;datastripes-forecast-studio&amp;gt;&lt;/code&gt; custom element. The core engine also works with no UI framework at all.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What does the trial tier limit?&lt;/strong&gt;&lt;br&gt;
It truncates the history to 1,000 rows, disables export and shows a watermark.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What data format does it accept?&lt;/strong&gt;&lt;br&gt;
An array of records, CSV text or a JSON array. Column auto-discovery finds the date and value columns, and &lt;code&gt;columnMapping&lt;/code&gt; lets you override it.&lt;/p&gt;

&lt;p&gt;Widget: &lt;strong&gt;@datastripes/forecast&lt;/strong&gt; · &lt;/p&gt;

&lt;p&gt;Landing: &lt;a href="https://datastripes.com/forecast-widget/" rel="noopener noreferrer"&gt;https://datastripes.com/forecast-widget/&lt;/a&gt; · &lt;/p&gt;

&lt;p&gt;Docs: &lt;a href="https://datastripes.com/forecast-widget/docs/" rel="noopener noreferrer"&gt;https://datastripes.com/forecast-widget/docs/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>programming</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Even if you hate CSVs, you’ll love what we do with them</title>
      <dc:creator>Superior Studio</dc:creator>
      <pubDate>Tue, 28 Apr 2026 18:54:17 +0000</pubDate>
      <link>https://dev.to/superior_studio_d5ebd0d6f/even-if-you-hate-csvs-youll-love-what-we-do-with-them-1ee6</link>
      <guid>https://dev.to/superior_studio_d5ebd0d6f/even-if-you-hate-csvs-youll-love-what-we-do-with-them-1ee6</guid>
      <description>&lt;p&gt;&lt;strong&gt;Nobody likes CSV files.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;They’re boring, fragile, and always show up at the worst moment. Exports from tools. Reports from clients. Data dumps from systems you don’t control. And somehow you’re always the one who has to “just fix it real quick”.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;That’s exactly why HowToCSV exists.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;CSVs are annoying. We make them behave.&lt;br&gt;
HowToCSV is a simple website that does one thing really well: it takes annoying CSV tasks and makes them painless.&lt;/p&gt;

&lt;p&gt;Merge files. Clean columns. Pivot and unpivot. Remove duplicates. Convert formats. Do quick analysis. All in a few clicks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;No Excel gymnastics. No scripts. No setup.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You drop a file in, get the job done, move on with your life.&lt;/p&gt;

&lt;p&gt;Even if you hate CSVs, you’ll love what we do with them.&lt;/p&gt;

&lt;p&gt;Built for real-world chaos&lt;br&gt;
Most tools try to turn CSVs into a full spreadsheet or a data science project. That’s not how people actually work.&lt;/p&gt;

&lt;p&gt;Most of the time you just need to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Fix a broken export&lt;/li&gt;
&lt;li&gt;Join two files&lt;/li&gt;
&lt;li&gt;Reformat something for another tool&lt;/li&gt;
&lt;li&gt;Clean data someone else messed up&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;HowToCSV is built around those moments. Small tools. Clear purpose. No distractions.&lt;/p&gt;

&lt;p&gt;It feels less like software and more like a set of sharp utilities you keep around because they save you when things go sideways.&lt;/p&gt;

&lt;p&gt;Privacy first. Not as a slogan. As a rule.&lt;br&gt;
This part matters.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Everything runs client-side.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Your files stay in your browser. They are not uploaded to a server. They are not stored. They are not analyzed somewhere you cannot see.&lt;/p&gt;

&lt;p&gt;That means you can use HowToCSV with internal data, customer lists, or sensitive files without sweating it.&lt;/p&gt;

&lt;p&gt;Privacy is not an afterthought here. It is the foundation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tools
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Smart Merge: Merge different CSVs&lt;/li&gt;
&lt;li&gt;Forecast: Apply forecast to CSVs datasets&lt;/li&gt;
&lt;li&gt;Chartize: Generate charts based on CSVs data&lt;/li&gt;
&lt;li&gt;Synthetic Scenarios: Generate multi-variate scenarios on data&lt;/li&gt;
&lt;li&gt;Query CSV: Use complex SQL queries on multiple CSVs at once&lt;/li&gt;
&lt;li&gt;Unpivot: Unpivot CSVs&lt;/li&gt;
&lt;li&gt;Filter: Filter CSVs as you go&lt;/li&gt;
&lt;li&gt;Conversions: CSV-to-any-format and viceversa&lt;/li&gt;
&lt;li&gt;Anonymizer: Anonymize automatically thousands of CSVs rows&lt;/li&gt;
&lt;li&gt;+60 tools: More than 60 CSVs manipulations&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The point
&lt;/h2&gt;

&lt;p&gt;HowToCSV doesn’t try to impress you with complexity. It respects your time. It assumes you have better things to do than fight with commas and quotes.&lt;/p&gt;

&lt;p&gt;Even if you hate CSVs, you’ll love what we do with them.&lt;/p&gt;

&lt;p&gt;And once you use it once, you’ll probably keep it bookmarked.&lt;/p&gt;

&lt;p&gt;You can also read its blog: HowToCSV is full of articles about data files&lt;/p&gt;

&lt;p&gt;If you want to try it, it’s free: &lt;a href="https://howtocsv.com" rel="noopener noreferrer"&gt;howtocsv.com&lt;/a&gt;&lt;/p&gt;

</description>
      <category>startup</category>
      <category>spreadsheets</category>
      <category>data</category>
      <category>nocode</category>
    </item>
    <item>
      <title>An open-source platform for simulating economies with artificial intelligence agents: Doxa</title>
      <dc:creator>Superior Studio</dc:creator>
      <pubDate>Wed, 22 Apr 2026 21:17:48 +0000</pubDate>
      <link>https://dev.to/superior_studio_d5ebd0d6f/an-open-source-platform-for-simulating-economies-with-artificial-intelligence-agents-doxa-4357</link>
      <guid>https://dev.to/superior_studio_d5ebd0d6f/an-open-source-platform-for-simulating-economies-with-artificial-intelligence-agents-doxa-4357</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqaw0p04027hlifxhj39o.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqaw0p04027hlifxhj39o.gif" alt="Doxa agents chatting and trading in a simulation" width="720" height="405"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;How can we simulate nuanced human negotiation, irrational market sentiment, or adaptive trading strategies when our agents are bound by rigid if/else statements?&lt;/p&gt;

&lt;p&gt;With this idea in mind, Riccardo Dal Cero and I developed &lt;strong&gt;Doxa&lt;/strong&gt; as an open-source, Python-native simulation platform, designed from the ground up for modern researchers and developers. This project is based on the fundamental philosophy of separating the “what” from the “how” when describing the structure of your world, and how intelligent agents operate within it.&lt;/p&gt;

&lt;p&gt;This is achieved through two key design principles:&lt;/p&gt;

&lt;p&gt;Declarative scenarios with YAML allow you to define the entire simulation in a single, readable YAML file, instead of writing complex configuration scripts. This includes the agents, their initial resources, the markets they operate in, global rules, and even programmed global events like price shocks or resource shortages. This should make the scenarios incredibly easy to understand, manage, and share.&lt;/p&gt;

&lt;p&gt;Doxa is designed to be AI-native, so it’s possible to integrate large language models from providers like Google (Gemini), OpenAI, or a local instance of Ollama to serve as the agents’ brains. By assigning an agent a personality, goals, and access to market data, sophisticated, nondeterministic decisions can be made that go far beyond simple rule-based logic.&lt;/p&gt;

&lt;p&gt;We developed the system with FastAPI for the API layer and Pydantic for rigorous data validation, ensuring a robust and easily maintainable core. The modular architecture allows collaborators to easily create their own agent logic, market compensation mechanisms, or event types for specific research needs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Therefore, reproducibility is key&lt;/strong&gt;: simulation execution is completely determined by the scenario file and the Doxa version, making experiments scientifically valid and verifiable. Last but not least, Doxa is distributed as a command-line tool, a two-tier application, and a Colab platform, so it requires no complex configuration.&lt;/p&gt;

&lt;p&gt;See it in action&lt;br&gt;
Here’s a small snippet from a scenario defining a farmer-trader agent:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;actors:
  - id: player_farmer
    provider: google
    model_name: gemini-1.5-pro
    persona: |
      You are a farmer and a trader. Your primary business is converting gold into corn through your farming operation. Your goal is to maximize your gold reserves, but you must keep enough corn to survive the regular maintenance costs. You can trade surplus corn on the open market.
    initial_portfolio:
      credits: 45
      corn: 12
      gold: 5
...
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To run this entire simulation the command is as simple as:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;doxa run path/to/your/scenario.yaml&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Doxa is still in its early stages, but the foundation is solid and the roadmap is exciting. We believe it can become a valuable tool for researchers, educators, and hobbyists exploring complex systems. Obviously this is not a finished product, but the start of a community-driven effort.&lt;/p&gt;

&lt;p&gt;We would be incredibly grateful for your feedback, ideas, bug reports, and contributions.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;GitHub Repository (Stars are deeply appreciated!): &lt;a href="https://github.com/VincenzoManto/Doxa" rel="noopener noreferrer"&gt;https://github.com/VincenzoManto/Doxa&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Full Documentation: &lt;a href="https://vincenzomanto.github.io/Doxa/" rel="noopener noreferrer"&gt;https://vincenzomanto.github.io/Doxa/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Ready Colab about &lt;a href="https://colab.research.google.com/github/VincenzoManto/Doxa/blob/main/notebooks/doxa.ipynb" rel="noopener noreferrer"&gt;Hormuz Crisis modeled with Doxa&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>simulation</category>
      <category>agents</category>
      <category>academic</category>
    </item>
    <item>
      <title>Even if you hate CSVs, you’ll love what we do with them</title>
      <dc:creator>Superior Studio</dc:creator>
      <pubDate>Wed, 21 Jan 2026 17:01:22 +0000</pubDate>
      <link>https://dev.to/superior_studio_d5ebd0d6f/even-if-you-hate-csvs-youll-love-what-we-do-with-them-49d7</link>
      <guid>https://dev.to/superior_studio_d5ebd0d6f/even-if-you-hate-csvs-youll-love-what-we-do-with-them-49d7</guid>
      <description>&lt;p&gt;&lt;strong&gt;Nobody likes CSV files.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;They’re boring, fragile, and always show up at the worst moment. Exports from tools. Reports from clients. Data dumps from systems you don’t control. And somehow you’re always the one who has to “just fix it real quick”.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;That’s exactly why HowToCSV exists.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;CSVs are annoying. We make them behave.&lt;br&gt;
HowToCSV is a simple website that does one thing really well: it takes annoying CSV tasks and makes them painless.&lt;/p&gt;

&lt;p&gt;Merge files. Clean columns. Pivot and unpivot. Remove duplicates. Convert formats. Do quick analysis. All in a few clicks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;No Excel gymnastics. No scripts. No setup.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You drop a file in, get the job done, move on with your life.&lt;/p&gt;

&lt;p&gt;Even if you hate CSVs, you’ll love what we do with them.&lt;/p&gt;

&lt;p&gt;Built for real-world chaos&lt;br&gt;
Most tools try to turn CSVs into a full spreadsheet or a data science project. That’s not how people actually work.&lt;/p&gt;

&lt;p&gt;Most of the time you just need to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Fix a broken export&lt;/li&gt;
&lt;li&gt;Join two files&lt;/li&gt;
&lt;li&gt;Reformat something for another tool&lt;/li&gt;
&lt;li&gt;Clean data someone else messed up&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;HowToCSV is built around those moments. Small tools. Clear purpose. No distractions.&lt;/p&gt;

&lt;p&gt;It feels less like software and more like a set of sharp utilities you keep around because they save you when things go sideways.&lt;/p&gt;

&lt;p&gt;Privacy first. Not as a slogan. As a rule.&lt;br&gt;
This part matters.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Everything runs client-side.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Your files stay in your browser. They are not uploaded to a server. They are not stored. They are not analyzed somewhere you cannot see.&lt;/p&gt;

&lt;p&gt;That means you can use HowToCSV with internal data, customer lists, or sensitive files without sweating it.&lt;/p&gt;

&lt;p&gt;Privacy is not an afterthought here. It is the foundation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tools
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Smart Merge: Merge different CSVs&lt;/li&gt;
&lt;li&gt;Forecast: Apply forecast to CSVs datasets&lt;/li&gt;
&lt;li&gt;Chartize: Generate charts based on CSVs data&lt;/li&gt;
&lt;li&gt;Synthetic Scenarios: Generate multi-variate scenarios on data&lt;/li&gt;
&lt;li&gt;Query CSV: Use complex SQL queries on multiple CSVs at once&lt;/li&gt;
&lt;li&gt;Unpivot: Unpivot CSVs&lt;/li&gt;
&lt;li&gt;Filter: Filter CSVs as you go&lt;/li&gt;
&lt;li&gt;Conversions: CSV-to-any-format and viceversa&lt;/li&gt;
&lt;li&gt;Anonymizer: Anonymize automatically thousands of CSVs rows&lt;/li&gt;
&lt;li&gt;+60 tools: More than 60 CSVs manipulations&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The point
&lt;/h2&gt;

&lt;p&gt;HowToCSV doesn’t try to impress you with complexity. It respects your time. It assumes you have better things to do than fight with commas and quotes.&lt;/p&gt;

&lt;p&gt;Even if you hate CSVs, you’ll love what we do with them.&lt;/p&gt;

&lt;p&gt;And once you use it once, you’ll probably keep it bookmarked.&lt;/p&gt;

&lt;p&gt;You can also read its blog: HowToCSV is full of articles about data files&lt;/p&gt;

&lt;p&gt;If you want to try it, it’s free: &lt;a href="https://howtocsv.com" rel="noopener noreferrer"&gt;howtocsv.com&lt;/a&gt;&lt;/p&gt;

</description>
      <category>spreadsheet</category>
      <category>beginners</category>
      <category>datascience</category>
      <category>data</category>
    </item>
    <item>
      <title>We just launched Datastripes, the browser-native data engine 🚀</title>
      <dc:creator>Superior Studio</dc:creator>
      <pubDate>Sun, 02 Nov 2025 10:02:22 +0000</pubDate>
      <link>https://dev.to/superior_studio_d5ebd0d6f/we-just-launched-datastripes-the-browser-native-data-engine-1eca</link>
      <guid>https://dev.to/superior_studio_d5ebd0d6f/we-just-launched-datastripes-the-browser-native-data-engine-1eca</guid>
      <description>&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
        &lt;div class="c-embed__cover"&gt;
          &lt;a href="https://datastripes.com/" class="c-link align-middle" rel="noopener noreferrer"&gt;
            &lt;img alt="" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdatastripes.com%2Fimages%2Fbanner.png" height="466" class="m-0" width="800"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="c-embed__body"&gt;
        &lt;h2 class="fs-xl lh-tight"&gt;
          &lt;a href="https://datastripes.com/" rel="noopener noreferrer" class="c-link"&gt;
            Datastripes - Data analysis as a flow
          &lt;/a&gt;
        &lt;/h2&gt;
          &lt;p class="truncate-at-3"&gt;
            The ultimate data visualization tool that helps you understand your data better, just dragging and dropping nodes.
          &lt;/p&gt;
        &lt;div class="color-secondary fs-s flex items-center"&gt;
            &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdatastripes.com%2Ffavicon.ico" width="64" height="64"&gt;
          datastripes.com
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;Datastripes&lt;/strong&gt; is a drag-and-drop data engine that runs 100% in your browser. No backend, no installs, no setup, just open a tab and start working with your data instantly.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why we built it
&lt;/h2&gt;

&lt;p&gt;We were tired of dashboards taking weeks to build and requiring endless setup. We wanted analysis to be as quick as sketching on a napkin, but with the power of AI baked in.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;p&gt;300+ modular nodes for sources, transformations, ML, and visualizations&lt;br&gt;
One-click transformations, filter, forecast, map, pivot in seconds&lt;br&gt;
Synthetic scenarios, simulate “what-if” events like crashes or growth surges&lt;br&gt;
Narrated dashboards &amp;amp; podcasts, because insights should be consumed, not buried in charts&lt;br&gt;
Local AI, ask your data questions and get instant answers&lt;br&gt;
Runs entirely in-browser, works offline, and can be embedded directly into your app via our React SDK.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who it’s for
&lt;/h2&gt;

&lt;p&gt;Analysts who want speed without losing depth&lt;br&gt;
Consultants who want to build custom dashboards once and sell to multiples customers.&lt;/p&gt;

&lt;p&gt;👉 Join early access on &lt;a href="//datastripes.com"&gt;datastripes.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you could run one wild “what-if” scenario on your data, what would it be?&lt;/p&gt;

</description>
      <category>datascience</category>
      <category>dashboards</category>
      <category>saas</category>
    </item>
  </channel>
</rss>
