Skip to main content
Public

Share visualization

Loading preview…

Fork of HTML Starter

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of HTML Starter

0
Mmadalahyndavi123@gmail.com
Last edited Oct 19, 2025
Created on Oct 19, 2025
Forked from HTML Starter

This example demonstrates sales trends for two products and advertising spend across 150 monthly data points using Plotly's JavaScript API. It renders two interactive charts: a multi-series line chart tracking product sales and scaled ad spend, and a combined bar-and-line chart with dual axes comparing Product A sales against ad spend. The synthetic dataset is generated programmatically in `index.js` with trend, seasonality, and random noise components. Both charts use `Plotly.newPlot` with responsive layouts, unified hover mode, and customized axis styling.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed