A sample Angular application designed to display election results from the US Presidential Election. The app uses the DevExtreme Data Visualization Controls to display Electoral College votes by individual States and vote results at the county level for each State.
For more information about DevExtreme, please visit https://js.devexpress.com/.
Node.js and npm are required.
Use the Node.js version 6.9.0 or higher and the npm version 3 or higher.
The app was build using angular-cli. Run npm install @angular/cli -g
to install it.
Run npm install
to install required node packages.
Run npm start
or ng serve
to start a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
A live example is available at https://devexpress.github.io/dx-election/.