Don't forget to get your custom API key to fetch the data.
This single-file web app lets anyone build a price target heatmap for any stock by entering a ticker and an FMP API key. It calls FMP’s Price Target News endpoint to collect recent analyst targets and renders them as a color-scaled row so highs/lows pop at a glance, plus shows min / max / average / standard deviation. It also queries Financial Estimates (annual EPS and Revenue) and draws a second heatmap with forward years as columns to highlight trends. Everything runs client-side with vanilla HTML/CSS/JS—no libraries, installs, or build tools. It’s a fast way for investors, PMs, and executives to visualize dispersion and fundamentals in seconds.
For those who are not programmers:
- Download Visual Studio Code.
- Clone my GitHub repository.
git clone https://github.com/SanjiS86/singleStockHeatmap
- Drag the
heatmap.htmlfile to an open browser window.
💻 Check my Investor Portal
for stock market-related educational articles, ideas, and useful apps for equity investors