<?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: Mahmoud Housam</title>
    <description>The latest articles on DEV Community by Mahmoud Housam (@mahmoudhousam).</description>
    <link>https://dev.to/mahmoudhousam</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%2F764344%2Fccf14c1f-471d-431f-b804-668708e1c245.jpg</url>
      <title>DEV Community: Mahmoud Housam</title>
      <link>https://dev.to/mahmoudhousam</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mahmoudhousam"/>
    <language>en</language>
    <item>
      <title>VizBlend: Solving the Challenge of Interactive Data Reporting with Python 🚀</title>
      <dc:creator>Mahmoud Housam</dc:creator>
      <pubDate>Sat, 21 Dec 2024 15:44:30 +0000</pubDate>
      <link>https://dev.to/mahmoudhousam/vizblend-solving-the-challenge-of-interactive-data-reporting-with-python-2gj6</link>
      <guid>https://dev.to/mahmoudhousam/vizblend-solving-the-challenge-of-interactive-data-reporting-with-python-2gj6</guid>
      <description>&lt;p&gt;JS, HTML and CSS are not a requirement for a data analyst/scientist to learn to use in daily tasks. As a Python data analyst, I've always suffered from lacking of delivering analytics reports to stakeholders in a practical, informative, easy-to-use, and yet interactive way. I have to wait for another job that builds the report and sends it to them. This job requires additional skills that are not included in any roadmap designed for a data analyst. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Here is the challenge!&lt;/strong&gt; Develop a tool that data analysts can use to build their interactive reports with some help from JS, HTML, and CSS without exposing them to learning anything more than their current skills.&lt;/p&gt;

&lt;p&gt;Dealing with this challenge leads me to build and launch &lt;a href="https://github.com/MahmoudHousam/VizBlend" rel="noopener noreferrer"&gt;VizBlend&lt;/a&gt;. A Python package that:&lt;br&gt;
🌟 Blends multiple Plotly figures into a single interactive report.&lt;br&gt;
🌟 Offers keyboard-based navigation to move between slides like a PowerPoint presentation (Arrow keys, Home, End).&lt;br&gt;
🌟 Auto-sliding feature with a 10-second timeframe between each slide (use Space to start/stop timing).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How to use VizBlend&lt;/strong&gt;&lt;br&gt;
1️⃣ Install VizBlend&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;pip install vizblend
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;2️⃣ Import VizBlend and add figures&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;from vizblend import CreateReport  
import plotly.graph_objects as go  

report = CreateReport(report_title="Sales Report")  
bar_fig = go.Figure(go.Bar(x=["A", "B", "C"], y=[10, 20, 30]))  
report.add_figure(bar_fig, {"title": "Sales Data"})
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;3️⃣ Generate the report&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;report_file = report.blend_graphs_to_html()  
print(f"Report saved to {report_file}") 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🚀 Here’s How You Can Support the Journey:&lt;br&gt;
1️⃣ Star the GitHub Repository 🌟: GitHub Repo&lt;br&gt;
2️⃣ Download VizBlend on PyPI ⬇️: &lt;code&gt;pip install vizblend&lt;/code&gt;&lt;br&gt;
3️⃣ Share Your Feedback and Contribute: Let me know how VizBlend can integrate into your workflow.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Learning Purpose&lt;/strong&gt;&lt;br&gt;
Adding a beginner level of DevOps to your stack is beneficial and makes you a more independent developer. I want to learn some CI/CD with GitHub Actions since my workplace is heavily dependent on them. Also, the process of building a Python package with &lt;code&gt;setuptools&lt;/code&gt;, source distribution and build distribution wheels are out-of-analytics-stack but useful for a Python developer even if you only use Python for data analysis. VizBlend helps me understand, write, run, and monitor CI/CD workflows with GitHub Actions to build and release it on PyPI.&lt;/p&gt;

</description>
      <category>plotly</category>
      <category>datascience</category>
      <category>analytics</category>
      <category>python</category>
    </item>
  </channel>
</rss>
