Setting up a web server need not be a challenge: several minimal web servers can be run without further configuration from the command line,1 and many programming languages include ready-to-use web server modules as well. The D3 website recommends http-server, which is a Node.js package. If you have the Node runtime and the npm package manager installed, you can install and run a web server using:2
npm install -g http-server http-server ./project -p 8080
Because they are part of its standard distribution, Python’s web server
modules are ubiquitous, but can be quite slow, even for development
-d argument requires Python 3.7 or later):
python -m http.server -d ./project 8080 # Python 3 python -m SimpleHTTPServer 8080 # Python 2: current dir
The busybox set of tools should be installed on all Debian-derived Linux distributions by default. Its built-in web ...