IconAgents is a plugin for AgentMaps that lets you depict agents as custom icons instead of circles.
You can get a bundle here or install it via npm (npm install agentmaps-iconagents
).
You'll need to include AgentMaps and Leaflet first.
Documentation and explanation is here.
A demo of AgentMaps-IconAgents with the basic AgentMaps contagions simulation is here.