<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Gantt chart in dashboard in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/gantt-chart-in-dashboard/m-p/16815#M329</link>
    <description>&lt;P&gt;Hi @Kaniz Fatma​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the response. I use altair for plotting, and as you can see I can easily make the Gantt chart in python in altair using the above code. I'm specifically asking about getting this in the dashboard functionality of Databricks, which seems like it only supports Databricks plotting. Is it possible to use python to create dashboards?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Amy&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jun 2022 16:06:43 GMT</pubDate>
    <dc:creator>Amy</dc:creator>
    <dc:date>2022-06-27T16:06:43Z</dc:date>
    <item>
      <title>Gantt chart in dashboard</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/gantt-chart-in-dashboard/m-p/16813#M327</link>
      <description>&lt;P&gt;I'd like to create Gantt charts using the dashboard function. It seems like this could be possible by adding some additional parameters in the bar plot functionality, but I don't see how to do it currently (if there is a way, would love an example!).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In altair, this chart type is based on the bar plot, with an additional parameter `x2` that tells where to end the bar.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example (from &lt;A href="https://altair-viz.github.io/gallery/gantt_chart.html" target="_blank" rel="noopener"&gt;altair&lt;/A&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-06-23 at 1.48.05 PM"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1762iD8304B88B022DDFF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-06-23 at 1.48.05 PM" alt="Screen Shot 2022-06-23 at 1.48.05 PM" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;import altair as alt
import pandas as pd
&amp;nbsp;
source = pd.DataFrame([
    {"task": "A", "start": 1, "end": 3},
    {"task": "B", "start": 3, "end": 8},
    {"task": "C", "start": 8, "end": 10}
])
&amp;nbsp;
alt.Chart(source).mark_bar().encode(
    x='start',
    x2='end',
    y='task'
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 13:03:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/gantt-chart-in-dashboard/m-p/16813#M327</guid>
      <dc:creator>Amy</dc:creator>
      <dc:date>2025-03-21T13:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Gantt chart in dashboard</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/gantt-chart-in-dashboard/m-p/16815#M329</link>
      <description>&lt;P&gt;Hi @Kaniz Fatma​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the response. I use altair for plotting, and as you can see I can easily make the Gantt chart in python in altair using the above code. I'm specifically asking about getting this in the dashboard functionality of Databricks, which seems like it only supports Databricks plotting. Is it possible to use python to create dashboards?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Amy&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 16:06:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/gantt-chart-in-dashboard/m-p/16815#M329</guid>
      <dc:creator>Amy</dc:creator>
      <dc:date>2022-06-27T16:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Gantt chart in dashboard</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/gantt-chart-in-dashboard/m-p/16817#M331</link>
      <description>&lt;P&gt;Hi @Amy Shapiro​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you are doing great! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just wanted to check in if you were able to resolve your issue or do you need more help. We'd love to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Aug 2022 05:04:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/gantt-chart-in-dashboard/m-p/16817#M331</guid>
      <dc:creator>Vidula</dc:creator>
      <dc:date>2022-08-27T05:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Gantt chart in dashboard</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/gantt-chart-in-dashboard/m-p/53545#M1066</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/42629"&gt;@Vidula&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I don't think this has been resolved.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I think gantt charts would look fantastic in a Lakeview Dashboard.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 22:23:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/gantt-chart-in-dashboard/m-p/53545#M1066</guid>
      <dc:creator>alexiswl</dc:creator>
      <dc:date>2023-11-22T22:23:34Z</dc:date>
    </item>
  </channel>
</rss>

