evo-web-scaffold-generator
Generates the web app scaffold: directory structure, data copying, D3.js library, HTML, and CSS.
Usage
pythonimport sys sys.path.insert(0, '/app/environment/skills/evo-web-scaffold-generator/scripts') from utils import setup_output_directory, copy_input_data, download_d3_library, generate_index_html, generate_style_css setup_output_directory() copy_input_data() download_d3_library() generate_index_html() generate_style_css()
Functions
setup_output_directory(output_dir)- Creates /root/output with js/, css/, data/, data/indiv-stock/ subdirscopy_input_data(input_dir, output_dir)- Copies stock-descriptions.csv and indiv-stock/ filesdownload_d3_library(output_dir)- Downloads d3.v6.min.js from CDNgenerate_index_html(output_dir)- Generates index.html with container layout for bubble chart + tablegenerate_style_css(output_dir)- Generates style.css with tooltip, table, highlight styles


