diff --git a/lib/js/app/components/explorer/EmbedHTML.js b/lib/js/app/components/explorer/EmbedHTML.js
index <HASH>..<HASH> 100644
--- a/lib/js/app/components/explorer/EmbedHTML.js
+++ b/lib/js/app/components/explorer/EmbedHTML.js
@@ -65,6 +65,7 @@ class EmbedHTML extends Component {
       propertyNames,
       latest,
       percentile,
+      chartType,
       steps,
       stepLabels = '',
     } = this.props.ui;
@@ -109,7 +110,7 @@ class EmbedHTML extends Component {
       params.push(`            steps: [
           ${stepsParams.join(',\n          ')}
             ]\n`);
-      
+
       if (stepLabels.length) {
         stepLabelsString = `,\n          labels: ${JSON.stringify(stepLabels)}`;
       }
@@ -135,21 +136,22 @@ class EmbedHTML extends Component {
           min-height: 300px;
         }
       </style>
-  
+
       <script>
         const chart = new KeenDataviz({
           container: '#demo_container', // querySelector
+          type: '${chartType}',
           title: false ${
             stepLabels && stepLabelsString ? stepLabelsString : ''
           }
         });
-  
+
         // Use keen-analysis.js to run a query
         const client = new KeenAnalysis({
           projectId: '${projectId}',
           readKey: '${readKey}'
         });
-  
+
         client
           .query({
 ${params.join('')}          })
fix: 🐛 embed code

add chart type to embed code feature