<?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: Nonso Dev</title>
    <description>The latest articles on DEV Community by Nonso Dev (@nonso_dev_8db441822f32aaa).</description>
    <link>https://dev.to/nonso_dev_8db441822f32aaa</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3940072%2F9e1367d0-12ac-4180-abee-2be7cb0eed25.png</url>
      <title>DEV Community: Nonso Dev</title>
      <link>https://dev.to/nonso_dev_8db441822f32aaa</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nonso_dev_8db441822f32aaa"/>
    <language>en</language>
    <item>
      <title>Datrix: Chat With Your Data Using Gemma 4 — Charts, ML Models, No Code</title>
      <dc:creator>Nonso Dev</dc:creator>
      <pubDate>Sat, 23 May 2026 19:28:43 +0000</pubDate>
      <link>https://dev.to/nonso_dev_8db441822f32aaa/datrix-chat-with-your-data-using-gemma-4-charts-ml-models-no-code-2b08</link>
      <guid>https://dev.to/nonso_dev_8db441822f32aaa/datrix-chat-with-your-data-using-gemma-4-charts-ml-models-no-code-2b08</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/google-gemma-2026-05-06"&gt;Gemma 4 Challenge: Build with Gemma 4&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;Datrix is a chat interface for your data — upload a dataset, ask questions, get charts and trained ML models back. No code required.&lt;br&gt;
The problem it solves is simple: most people who work with data aren't developers. They know what they want to find out, they just can't write the code to find it. Datrix bridges that gap by letting Gemma 4 handle the Python while the user just asks questions.&lt;/p&gt;

&lt;p&gt;Interactive charts — ask for a visualization in plain English and get a rendered, interactive chart back in the browser&lt;br&gt;
ML model training — request a trained model, and it gets saved to your session for follow-up predictions in the same conversation&lt;br&gt;
Image input — attach a screenshot of a report or a photo of a whiteboard and ask questions about it alongside your data&lt;br&gt;
Local or cloud — run fully offline with Gemma 4 E4B on Ollama (~9.6 GB RAM, no GPU), or use the 31B model via OpenRouter for heavier analysis&lt;/p&gt;

&lt;p&gt;Supported formats: CSV, Excel, JSON, Parquet, and images up to 200 MB.&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.amazonaws.com%2Fuploads%2Farticles%2Fulkyqe8hipg99lefphax.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.amazonaws.com%2Fuploads%2Farticles%2Fulkyqe8hipg99lefphax.png" alt="Hero Image" width="800" height="422"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/KfQuOubnbpg"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/nonsodev/datrix-gemma" rel="noopener noreferrer"&gt;datrix-gemma GitHub Repository&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Used Gemma 4
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;256K context window&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Data analysis is multi-turn by nature — you explore, refine, go back. The 256K context window means Datrix can include the full dataset schema, session charts, and conversation history in every request. Gemma 4 always has the full picture.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Code generation and self-correction&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Every query becomes a Python script. Gemma 4 writes it, the sandbox runs it, and if it fails the traceback goes back to Gemma 4 to fix automatically.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Vision&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;No extra models or OCR setup needed. Images go straight into the Gemma 4 request and get handled natively alongside the rest of the conversation.&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.amazonaws.com%2Fuploads%2Farticles%2F5x3dvwueul0qdsne3rc7.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.amazonaws.com%2Fuploads%2Farticles%2F5x3dvwueul0qdsne3rc7.png" alt=" " width="800" height="499"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Local mode and sensitive data&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A lot of datasets people might actually want to analyze — HR records, financials, patient data, internal metrics — can't go to a cloud API. With Gemma 4 E4B running locally via Ollama, everything stays on your machine. Same experience, fully private, no GPU required.&lt;/p&gt;

&lt;p&gt;For users who want stronger reasoning and can't fit the 31B model on their hardware, OpenRouter is the easy route. But if your machine can handle it, you can also pull &lt;code&gt;gemma4:31b&lt;/code&gt; via Ollama and run it fully locally too &lt;em&gt;(requires ~20 GB RAM at 4-bit quantization, 32 GB recommended for comfortable use)&lt;/em&gt; — no data leaving your device, full reasoning power.&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.amazonaws.com%2Fuploads%2Farticles%2F4gk1ig2xngc4ipf9ncna.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.amazonaws.com%2Fuploads%2Farticles%2F4gk1ig2xngc4ipf9ncna.png" alt=" " width="800" height="530"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>gemmachallenge</category>
      <category>gemma</category>
    </item>
  </channel>
</rss>
