The current growth in the S&P 500 is significantly influenced by the 'Magnificent 7' (Apple, Microsoft, Google, Amazon, NVIDIA, Tesla, and Meta). This has been fueled by foundational advancements across the Generative AI Stack, including purpose-built chips for generative AI and the ability of cloud providers to offer access to their scalable compute power. This project uses d3.js to build bespoke visualizations to better understand the 'Magnificent 7's and their role across the Generative AI Stack.
- Project d3.js Visualization Classes
js/barvis.js- Grouped Bar Chartjs/donutvis.js- Donut Chartjs/doubleradialbarvis.js- Double Radial Bar Chartjs/linevis.js- Stacked Line Chartjs/microprocessorvis.js- Bespoke Isometric Microprocessor Visualizationjs/neuralnetworkvis.js- Neural Network Diagramjs/scattervis.jsScatter Plot with Comparative Trend Linejs/stackedbarvis.js- Stacked Bar Chart (Not Initialized)js/treevis.js- Tree Diagram
- Project Data Files
data/apple.csv- Apple M Series Silicon Chip Datadata/clouds.csv- Cloud Infrastructure Provider Revenue, Market Share, and Growth Ratesdata/moore.csv- Moore's Law Data based on first CPU released in 1970data/nodes.json- Neural Network Node Datadata/stack.csv- Generative AI Stack Knowledge Basedata/transistors-cpu.csv- CPU Transistor Datadata/transistors-gpu.csv- GPU Transistor Data
- Other Project Files
index.htmlcss/style.css- Custom Stylesjs/maind3.js- Creates all d3.js Visualizations
- Libraries Used
- First, ensure that node.js & npm are both installed. If not, choose your OS and installation method from this page and follow the instructions.
- Next, use your command line to enter the project directory.
- This website comes with a ready-to-use package file called
package.json. You just need to runnpm installto install all of the dependencies into the project. - When
npmhas finished with the install, runnpm run buildto recompile thestyle.cssfile in the root directory.
You're ready to go! The most useful task for rapid development is npm run dev, which rebuilds the CSS every time you make a change in the HTML or JS files.
-
This content is for academic purposes and not financial guidance. Do your due diligence before making investment decisions.
-
I hold Amazon stock, which might influence my viewpoints in this project.
-
As an Amazon employee, I clarify that the opinions and analyses here are my own and do not represent Amazon’s views. All information is sourced from public domains or reflects my own understanding of the technology.
-
Latest market and chip technology data updated Q3 2023. Rapid industry advancements may lead to daily changes.